JUnitParams v1.0.4 Release Notes

Release Date: 2015-01-26 // about 9 years ago
  • ๐Ÿ”ง Configurable test case name

    ๐Ÿ†• New annotation @TestCaseName that can be used for test case name configuration:

    @Test@Parameters({ "1,1", "2,2" }) @TestCaseName("factorial({0}) = {1}") public void custom\_names\_for\_test\_case(int argument, int result) { }
    

    โœ… will produce tests with names:

    factorial(1) = 1
    factorial(2) = 2
    

    ๐Ÿ‘ Allow usage of enums as a data source

    Parameters annotation now allows passing Enum values as parameters

    @Parameters(source = Fruit.class)
    

    โœ… Test results filtering fixed

    โœ… When starting a single test method from within an IDE, the tests results were not shown up properly in the results tab.