generate report.xcresult for passed tests only.
Closed this issue · 4 comments
Hello ,
We implemented successfully Fastlane-plugin-test_center. We are trying to integrate with our internal tools and have some question before we modify code ourself.
Currently, report.xcresult have failures tests and after retry passed tests
Example Image :
How can we share only Passed OR Failed tests? Rather than showing retry logic like tried 2 times and 3rd time it passed.
Are you stating that you are seeing all the failed tests and then the passing tests after the retry? That is a function of the xcrun xcresulttool merge
command; there is not much I can do about that.
You could also pass collate_reports: false
to multi_scan
and choose the xcresult you want.
Or, finally, you could grab the the results of the xcresult yourself with the tests_from_xcresult
action and filter out the duplicates that appear.
@lyndsey-ferguson Can you provide an example or reference to following suggestion?
You could also pass collate_reports: false to multi_scan and choose the xcresult you want.
What are you looking for? collate_reports: false
would be an option to multi_scan
and then you can get the tests that you want from tests_from_xcresult
by passing in the file paths to the outputted files in the uncollated folders.
Thank you..