You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using Bruno API testing framework as well as its CLI tool to export test results as a JUnit report, and we need to convert the junit to ctrf for Github summary.
However, using this converter always result in getting a report with all test cases passed, even when there are failed test cases.
The reason is that this converter classify failure and error XML elements without any text as passed cases.
The below is classified as a passed test case (from Bruno's JUnit report)
<testcase name="testMultiplication" classname="com.example.UnitTests" time="0.020">
<failure message="Expected 10 but was 9" type="AssertionError"/>
</testcase>
The below is classified as a failed test case
<testcase name="testMultiplication" classname="com.example.UnitTests" time="0.020">
<failure message="Expected 10 but was 9" type="AssertionError">Something</failure>
</testcase>
Is it possible to change so that even when failure element has no text inside it will still be able to classify it as a failed test case?
The text was updated successfully, but these errors were encountered:
We are using Bruno API testing framework as well as its CLI tool to export test results as a JUnit report, and we need to convert the junit to ctrf for Github summary.
However, using this converter always result in getting a report with all test cases passed, even when there are failed test cases.
The reason is that this converter classify failure and error XML elements without any text as passed cases.
The below is classified as a passed test case (from Bruno's JUnit report)
The below is classified as a failed test case
Is it possible to change so that even when failure element has no text inside it will still be able to classify it as a failed test case?
The text was updated successfully, but these errors were encountered: