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).
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 forxray-maven-plugin
, so usingadd_timestamp_to_report_filename=true
won't be a valid workaround as mentioned in https://github.com/Xray-App/xray-junit-extensions/issues/11Editing 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.