Collate_xcresults command question #318
-
Hi, I'm using the test-center multi_scan command and for my localization tests, I'm using Fastlane snapshot. I have 6 tests and they run through a snapshot on 16 locales, after the run, I have 16 different xcresult reports and when I try to use collect_xcresults it merges all results into one, but not correctly, if for ex. 5th locale has 2 failed tests and the last locale have all passed tests then in merged xcresult I will see all passed tests... as I see collate_xcresults using merge tool under the hood:
Do you know how I can resolve this issue? Or it's a problem of xcrun xcresulttool merge command, it cannot understand that it's a different tests? Because the name of the tests are the same on 16 locales... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes, the Otherwise, you could turn off collation, and then specify which xcresults to merge in the input parameters. Otherwise, the next thing to try, which feels ugly to me, is make a separate test target for each. |
Beta Was this translation helpful? Give feedback.
-
I'm going to convert this into a GitHub Discussion question in case someone else has a suggestion. |
Beta Was this translation helpful? Give feedback.
Yes, the
xcresulttool
tool is doing all of the collation. From your findings, it appears that thexcresulttool
cannot differentiate between different locales. What if you tried a different device for each locale? Maybe the tool could reason through that?Otherwise, you could turn off collation, and then specify which xcresults to merge in the input parameters.
Otherwise, the next thing to try, which feels ugly to me, is make a separate test target for each.