UNPKG

@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
<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: &lt;true&gt; but was: &lt;false&gt;" type="org.opentest4j.AssertionFailedError"> org.opentest4j.AssertionFailedError: expected: &lt;true&gt;but was: &lt;false&gt;at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)... </error> </test_run> </test_runs> </test_result>