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?
Thanks,
Tom Böhling
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.