Breaking changes
When the search pattern matches more than one file and every match is an XML file, the Step now exports all the JUnit XMLs among them into the same test report, together with their attachments. Before, it exported only the first match. Test tools that write one XML per test class, such as Gradle, now show all their results.
What this means for existing workflows:
- If your pattern matches several JUnit XMLs, the Test Reports now show all of them, so the number of tests and failures can go up.
- If the same build also uploads these results another way, for example with the Android Unit Test or Gradle Unit Test Step, they now show up twice. Remove this Step or narrow its search pattern.
- Matched XML files that aren’t JUnit XMLs, and files with the same name as one that is already exported, are skipped with a warning.
Nothing changes when the pattern matches a single file, or when the matches include a folder, an .xcresult bundle or any file that isn’t an XML: the Step exports the first match, as before.
Workflows that use custom-test-results-export@1 keep the old behaviour until they move to @2.
What’s Changed
- [CI-6543] Export every matching JUnit XML by @AndrasEszes in [CI-6543] Export every matching JUnit XML by AndrasEszes · Pull Request #22 · bitrise-steplib/step-custom-test-results-export · GitHub
Full Changelog: Comparing 1.3.2...2.0.0 · bitrise-steplib/step-custom-test-results-export · GitHub