Skip to content

Releases: Pragmatists/JUnitParams

JUnitParams-1.1.1

03 Nov 08:11
Compare
Choose a tag to compare
[maven-release-plugin] copy for tag JUnitParams-1.1.1

JUnitParams-1.0.4

26 Jan 10:23
Compare
Choose a tag to compare

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.