Xray-App / xray-junit-extensions

Enhanced JUnit 5 integration with Xray Test Management for Jira
Eclipse Public License 2.0
16 stars 8 forks source link

Incomplete junit report when setting surefire.rerunFailingTestsCount parameter #20

Closed ZescherW closed 2 years ago

ZescherW commented 2 years ago

I have a project with some flaky tests. So when I set surefire.rerunFailingTestsCount=2 in order to re-run the flaky tests, xray-junit-extensions plugin generates a junit report including only flaky tests (omitting all the other tests that weren't re-run).

The generated (incomplete) junit report is used as input for xray-maven-plugin, so using add_timestamp_to_report_filename=true won't be a valid workaround as mentioned in https://github.com/Xray-App/xray-junit-extensions/issues/11

Editing this once again. I just realised that it's possible to import results from a folder: https://github.com/Xray-App/xray-maven-plugin#configurations-for-importing-test-results

Closing this issue then.