fastlane-plugin-test_center icon indicating copy to clipboard operation
fastlane-plugin-test_center copied to clipboard

Summary of failed tests for multi-target multi_can is incorrect

Open lyndsey-ferguson opened this issue 3 years ago โ€ข 0 comments

New Issue Checklist

  • [x] Updated fastlane-plugin-test_center to the latest version
  • [x] I read the README.md
  • [x] I reviewed the example(s) for the action(s) I am using
  • [x] I have removed any sensitive data such as passwords, authentication tokens, or anything else I do not want to world to see
  • [x] I have reviewed the Discussions forum to see my question has already been addressed.

If you love this fastlane plugin, consider sponsoring it or asking your company to sponsor it. I would really appreciate any gesture: https://github.com/sponsors/lyndsey-ferguson. ๐Ÿ˜

Issue Description

Found during #314, when testing multiple targets with multi_scan and there are failed tests, the summary data for the failed tests is incorrect.

Notice how it uses the names of all targets as the target name for the test identifiers:

failed_tests | ["TestTarget1.xctest, TestTarget2.xctest, TestTarget3/TestTarget1Tests/testTarget1Test", "TestTarget1.xctest,TestTarget2.xctest, TestTarget3/TestTarget2Tests/testTarget2Test"] 
Complete output when running fastlane, including the stack trace and command used

See the attached demo to reproduce. MultiScanDemo.zip

Here's the junit: report.junit.zip

lyndsey-ferguson avatar Mar 07 '21 02:03 lyndsey-ferguson