Details
-
Bug
-
Resolution: Done
-
Low
-
None
-
None
-
Severity 3 - Minor
-
Description
Summary
Parsing a JUnit file that has an testsuite entry with an empty name will not display a failed test results for that suite. This can arise when using automated test creation tools such as codeception.
Environment
- Bamboo 5.9,
- Bamboo 5.12
Steps to Reproduce
- Generate a JUnit test result where the name is empty. For example:
<testsuite name="BigTests" tests="4" assertions="4" failures="1" errors="0" time="0.069964">
<testcase ...
</testuite>
<testsuite name="" tests="4" assertions="4" failures="1" errors="0" time="0.069964">
<testcase ...
</testuite>
Desired Results
All test suites returned, potentially labeled as "Unames Test N" for example.
Actual Results
Only the first one will be displayed in the UI as a failed test.
Workaround
Use a script task, prior to the final JUnit task, to insert a suitable unique name for any instance of testsuite name=""
Attachments
Issue Links
- is related to
-
BAM-18510 JUnit test results with a null classname are not correctly handled
- Closed