Panasonic Youth rob sanheim writes about software, business, ruby, music, stuff and things



Posted
4 November 2005 @ 1am

Tagged
Agile, Java, TDD

Discuss

xUnit frameworks - they aren’t just for unit testing

I’ve had a discussion at my current client a few times where someone looks at a Junit test and says “this isn’t a unit test, whats the deal”. The answer usually is “yea, its a functional/integration/etc test - Junit is not just for unit testing”. Completely isolated, theoretically pure unit tests are great and essential for TDD, but don’t overlook the value that comes with broader tests. The always pragmatic Jared has a related post that inspired this entry, and his book Ship It also has a great section on “mock client tests” as a higher level of testing then unit.


2 Comments

Posted by
x
4 November 2005 @ 3am

If you are doing more than unit testing, you should be using TestNG (http://testng.org).


Posted by
Rob
4 November 2005 @ 10am

Well, thats one opinion…


Leave a Comment

Using ajax for user monitoring, testing, and usability The killer app for Web 2.0 has arrived