I create a junit.xml file, which is recognized by the system, as indicated by the failed tests.
But the "Tests" Tab shows nothing.
My guess is that the generated XML is not parsed correctly. Therefore I saved the file and analyzed it.
<?xml version="1.0" encoding="UTF-8"?><testsuites> <testsuite errors="1" failures="0" tests="1" skipped="0" name=".opt.atlassian.pipelines.agent.build.test.widget" timestamp="2020-10-29T23:13:35"> <properties> <property name="platform" value="vm"/> </properties> <testcase classname=".opt.atlassian.pipelines.agent.build.test.widget" name="Counter increments smoke test" time="0.676"> <error message="1 error, see stacktrace for details">Error:\n\nTest failed. See exception logs above. The test description was: Counter increments smoke test</error> <system-out><!--detailed error output here--></system-out> </testcase> </testsuite></testsuites>
But unfortunately I have no comparison to a correct XML-file.
For example, I deleted the entire system out block, but that did not work.
Do you have any precise information of the syntax of this XML-file or can someone provide me a correct XML-file?
Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...
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