JUnitParams v1.1.1 Release Notes

Release Date: 2017-11-03 // over 6 years ago

Previous changes from v1.0.4

  • ๐Ÿ”ง 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.