How to output that a test was skipped to the report.xml
Is it possible to output as an attribute or xml node that a particular test was skipped, to the generated report.xml file? I need to be able to capture that step/test that was skipped in a loop.
Thank you.
Comments
-
The report xml/html should encapsulate this information. You can try enabling more detail for individual test cases. In the Parasoft preferences under Reports, enable "Overview of checked files and executed tests" and disable "Only top-level test suites".
0 -
Thank you. After making the suggested preference changes, in the following report.xml, I'm still struggling to find where the "skipped" test steps are being acknowledged in the XML.
Any advice?
0 -
Hmm, I think you are right. In the XML report, I only see Test and TestCase elements for passing and failing tests. If I have a test that is skipped, because of test flow logic for example, then it doesn't show up at all. If I have a test that is sometimes skipped in certain iterations then I only see TestCase elements for the iterations that it passed or failed. Probably a product limitation.
0