JUnitParams v1.1.1 Release Notes

Release Date: 2017-11-03 // over 2 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.