Testing
JUnitParams: JUnit Parameterized Tests
Using JUnitParams allows for the inclusion of tests running with multiple sets of parameters. A class utilizing JUnitParams will specify @RunWith(JUnitParamsRunner.class) above the class declaration. To indicate that a test will be using sets of parameters, include the annotation: @Parameters(method = "nameOfMethodContainingParameters").
The test method signature includes the order of the parameters that it will be receiving; it will run with each set of parameters provided to it. The method containing the sets of parameters to be sent to the test method is indicated using the annotation: @Parameters. This method will return a collection of objects that is passed to the test method.