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
I have an XML file with 2 skipped tests; however, they are showing up as passed tests in my test report in GitHub.
To Reproduce
Steps to reproduce the behavior:
Run a series of behave tests and ensure the first test fails (e.g., assert False): behave --junit --stop <path_to_tests>
Loop through the generated XML files and change each untested test to a skipped test (testcase), and update the corresponding overall skipped count at the top of each XML file (testsuite)
Run this test reporter on those updated XML files
Expected behavior
All skipped tests should show up in the Skipped column, not the Passed column.
Example
Here are my test logs showing the XML file as it was generated by behave and then as it was when I did my post-processing as mentioned above.
Describe the bug
I have an XML file with 2 skipped tests; however, they are showing up as passed tests in my test report in GitHub.
To Reproduce
Steps to reproduce the behavior:
behave
tests and ensure the first test fails (e.g.,assert False
):behave --junit --stop <path_to_tests>
testcase
), and update the corresponding overall skipped count at the top of each XML file (testsuite
)Expected behavior
All skipped tests should show up in the Skipped column, not the Passed column.
Example
Here are my test logs showing the XML file as it was generated by
behave
and then as it was when I did my post-processing as mentioned above.Yet those tests are showing up as Passed:
The text was updated successfully, but these errors were encountered: