Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Summary of failed tests for multi-target multi_can is incorrect #333

Open
5 tasks done
lyndsey-ferguson opened this issue Mar 7, 2021 · 0 comments
Open
5 tasks done

Comments

@lyndsey-ferguson
Copy link
Owner

lyndsey-ferguson commented Mar 7, 2021

New Issue Checklist

  • Updated fastlane-plugin-test_center to the latest version
  • I read the README.md
  • I reviewed the example(s) for the action(s) I am using
  • I have removed any sensitive data such as passwords, authentication tokens, or anything else I do not want to world to see
  • 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant