@microfocus/alm-octane-test-result-convertion
Version:
A NodeJS library for converting different kinds of test reports into OpenText SDP / SDM format.
102 lines (98 loc) • 4.41 kB
text/xml
<!--Generated by bdd2octane 1.1.10-->
<features version="1">
<feature name="Boolean Calculator Operations"
path="src/test/resources/calculator_features/BooleanCalculator.feature" started="1733747517214"
tag="">
<file>
<![CDATA[Feature: Boolean Calculator Operations
Scenario: Perform OR operation
Given a boolean calculator
When I OR true and false
Then the result should be true
Scenario: Perform AND operation
Given a boolean calculator
When I AND true and false
Then the result should be false
Scenario: Perform AND operation failed
Given a boolean calculator
When I AND true and false
Then the result should be true]]>
</file>
<scenarios>
<scenario name="Perform OR operation">
<steps>
<step name="Given a boolean calculator" duration="0" status="passed"></step>
<step name="When I OR true and false" duration="0" status="passed"></step>
<step name="Then the result should be true" duration="0" status="passed"></step>
</steps>
</scenario>
<scenario name="Perform AND operation">
<steps>
<step name="Given a boolean calculator" duration="0" status="passed"></step>
<step name="When I AND true and false" duration="0" status="passed"></step>
<step name="Then the result should be false" duration="0" status="passed"></step>
</steps>
</scenario>
<scenario name="Perform AND operation failed">
<steps>
<step name="Given a boolean calculator" duration="0" status="passed"></step>
<step name="When I AND true and false" duration="0" status="passed"></step>
<step name="Then the result should be true" duration="0" status="failed">
<error_message><![CDATA[org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141)
at me.opopescu.test_octane_github_actions.steps.BooleanCalculatorSteps.the_result_should_be(BooleanCalculatorSteps.java:37)
at ✽.the result should be true(file:///home/runner/work/alm-octane-github-actions-tests/alm-octane-github-actions-tests/src/test/resources/calculator_features/BooleanCalculator.feature:15)
]]></error_message>
</step>
</steps>
</scenario>
</scenarios>
</feature>
<feature name="Calculator Operations"
path="src/test/resources/calculator_features/Calculator.feature" started="1733747517214" tag="">
<file>
<![CDATA[Feature: Calculator Operations
Scenario: Add two numbers
Given a calculator
When I add 5 and 3
Then the result should be 8
Scenario: Subtract two numbers
Given a calculator
When I subtract 5 from 10
Then the result should be 5
Scenario: Divide two numbers
Given a calculator
When I divide 10 by 2
Then the result should be 5]]>
</file>
<scenarios>
<scenario name="Add two numbers">
<steps>
<step name="Given a calculator" duration="0" status="passed"></step>
<step name="When I add 5 and 3" duration="0" status="passed"></step>
<step name="Then the result should be 8" duration="0" status="passed"></step>
</steps>
</scenario>
<scenario name="Subtract two numbers">
<steps>
<step name="Given a calculator" duration="0" status="passed"></step>
<step name="When I subtract 5 from 10" duration="0" status="passed"></step>
<step name="Then the result should be 5" duration="0" status="passed"></step>
</steps>
</scenario>
<scenario name="Divide two numbers">
<steps>
<step name="Given a calculator" duration="0" status="passed"></step>
<step name="When I divide 10 by 2" duration="0" status="passed"></step>
<step name="Then the result should be 5" duration="0" status="passed"></step>
</steps>
</scenario>
</scenarios>
</feature>
</features>