Parameterized JUnit tests

Aside from proving that your code works the major goal of any unit test is to provide a living document that shows how to actually use your code. Just writing a test to prove that everything is groovy is not enough. One day you, or another developer may want to add more functionality and it is your unit tests that show what it is capable of. That said I believe the major goal of any unit test is to clearly express what you code can do....

May 16, 2015 · 4 min · Matt Biggin