Skip to content

[SUREFIRE-2065] Test Reports Inconsistencies with Parameterized and junit4 #3138

@jira-importer

Description

@jira-importer

Christian Marquez Grabia opened SUREFIRE-2065 and commented

Running parameterized tests with the junit-platform provider causes tests to be counted as single test (unlike using junit4 provider). This makes the tests to be marked as 'Flaky' and marks the build as successful if the retry failed count is greater than zero. Reports also show a single test run even if there were multiple tests with different parameters.

For a sample project with the problem see surefire-flaky-issue 

This is also a possibly related to issue SUREFIRE-2010 and may help in the resolution of it.


Affects: 3.0.0-M5, 3.0.0-M6, 3.0.0-M7

Issue Links:

  • SUREFIRE-2087 rerunFailingTestsCount incorrectly marks failed parametrized test as pass
    ("is duplicated by")

Remote Links:

1 votes, 4 watchers

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:minorMinor loss of function, or other problem where easy workaround is present

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions