Nifty JUnit 4 trick - parameterized tests
Apr 16th, 2007 by Austin Mills
Test Early points out a nice feature of JUnit 4 that I had overlooked — parameterized tests. If you’ve ever found yourself writing multiple repetitive test methods just so you could call the same method with various combinations of arguments, you should check it out.