@microfocus/alm-octane-test-result-convertion
Version:
A NodeJS library for converting different kinds of test reports into OpenText SDP / SDM format.
21 lines (20 loc) • 928 B
text/xml
<test_result>
<build build_id="123" job_id="myJob" server_id="serverId" />
<test_fields>
<test_field type="Test_Level" value="Unit Test" />
<test_field type="Test_Type" value="Sanity" />
<test_field type="Framework" value="JUnit" />
</test_fields>
<test_runs>
<test_run module="" class="com.howtodoinjava.junit5.examples.xmlReport.HelloTest" name="testOne"
status="Passed" duration="0" />
<test_run module="" class="com.howtodoinjava.junit5.examples.xmlReport.HelloTest" name="testTwo"
status="Failed" duration="0">
<error message="expected: <true> but was: <false>"
type="org.opentest4j.AssertionFailedError">
org.opentest4j.AssertionFailedError: expected: <true>but was: <false>at
org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)...
</error>
</test_run>
</test_runs>
</test_result>