Stefan Roock

All About Agile and Lean

Test Java Unit Tests with Jester (Open-Source)


Some months ago I heard of Jester a tool for testing Java unit tests. How do you test a test? The Jester approach is very simple but powerful: Jester modifies the tested source code and runs the tests after the modification. If the test fails, the test is OK. If the test passes, the test is incomplete.

The modifications to the code are based on very simple algorithms like incrementing integer constants by one, reverse conditions in if statements etc.

If contributed some minor extensions to Jester myself.

And Jester shares one attractive property with many other simple, but powerful tools: it is Open Source software.

Jester at Source-Forge


Published by

Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

WordPress.com-Logo

Du kommentierst mit Deinem WordPress.com-Konto. Abmelden /  Ändern )

Twitter-Bild

Du kommentierst mit Deinem Twitter-Konto. Abmelden /  Ändern )

Facebook-Foto

Du kommentierst mit Deinem Facebook-Konto. Abmelden /  Ändern )

Verbinde mit %s

%d Bloggern gefällt das: