Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.7, 5.15.8, 5.15
-
None
Description
When using the JUnit XML format as test output format, if a test is skipped it's not tagged as skipped. CI tools like GitLab are unable to recognize properly a skipped test then.
A skipped test should have this syntax
<?xml version="1.0" encoding="UTF-8"?> <testsuite name="My Test Suite" tests="1" failures="0" errors="0" time="0"> <testcase name="Tests can pass" classname="My Test Suite" time="5.28e-06"></testcase> <testcase name="Tests can be skipped" classname="My Test Suite" time="0.00021871"> <skipped></skipped> </testcase> </testsuite>