Select Page

Jester an addition to the agile programmer’s toolbox

Jester – the JUnit test tester: Jester changes your source code, recompiles it, and runs your bunch of JUNIT  test suite to see if anything breaks. It help the developer to verify if enough, or better the most iimportant testcases are already written…more at IBM developerWorks, do not forget to also read or reread JUnit Test Infected: Programmers Love Writing Tests essay.

A comprehensive unit-test suite is a necessity for a robust program. But how can you be sure that your test suite is testing everything it should? Jester, Ivan Moore’s JUnit test tester, excels at finding test-suite problems and provides unique insights into the structure of a code base. Elliotte Rusty Harold introduces Jester and shows how to use it for best results. 
Test-first programming is the least controversial and most widely adopted part of Extreme Programming (XP). By now the majority of professional #Java™ programmers have probably caught the testing bug…
This is where Jester comes in. Unlike a traditional code coverage tool such as Clover, Jester doesn’t watch which lines of code have been executed. Instead Jester changes the source code, recompiles it, and runs the test suite to see if anything breaks. For instance, it will change a 1 to a 2, or change an if (x > y) to if (false). If the test suite isn’t paying close enough attention to notice the change, then a test is missing.

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments

Categories

0
Would love your thoughts, please comment.x
()
x