We are running Bamboo Server
Testing my code on bamboo produces an accurate output.xml file. I run 84 tests; 4 are skipped, 4 fail, and 76 pass.
The JUnit parser returns that the build failed, red bar, that's accurate. But, the "Build and Unit Test" page for the job says 54 tests in total ran (not the actual 84), and it shows no Failed tests:
The tests that are missed that are failing are named:
These have kind of long names. Doest Bamboo's JUnit Parser fail to count tests with names 36 characters long or longer? (54 of my tests have names that are less than 36 characters).
Any other ideas as to the discrepency between total tests and passed tests?
Also, how can I file a bug report with Atlassian?
Thank you Cristiano,
Atlassian looked into it and created a bug report:
Their assessment might be related to what you are saying. My tests have unique names, but the classname for 30 of the tests is null.
I tests and create the xml output using pytest which doesn't require a class. While they fix the bug I can just put those tests into a class.
Thanks for your suggestion!
...roperties: -Dbamboo.bitbucket.cloud.use.workspace.api=true There are patches available for Bamboo versions 6.8.3, 6.9.2, and 6.10.5 on the bug report that add support for the System Property. T...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events