Details
-
Bug
-
Resolution: Fixed
-
Low
-
3.3.2
-
Any.
-
Severity 3 - Minor
-
Description
When JUnit tests are inside nested static public classes (perfectly legitimate), the output XMLs are not parsed correctly. So, for the following input:
<testcase time="0.001" classname="com.carrotsearch.bugsinjira.SuiteAggregatorTest$Test1" name="method1"/> <testcase time="0" classname="com.carrotsearch.bugsinjira.SuiteAggregatorTest$Test2" name="method1"/>
Bamboo shows only 1 test case on SuiteAggregatorTest named "method1". Code to demonstrate the bug at github:
https://github.com/dweiss/jira-bugs
Screenshot from an example execution attached.