IS there a way to include JUnit report's system-out tag in the results for both Pass and Failed scripts? #370
Replies: 1 comment
-
|
Hi @MatthewRack Thank you for your inquiry and apologies for the late response. This is a common need, as frameworks like pytest and Playwright output useful diagnostics to system-out. It’s technically feasible since junitparser can read system-out/system-err and the TestRail result comment field can store the data in a backward-compatible way. We suggest filing a TRCLI feature request for this and put more detail about your use case. Thank you for your constant support! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using pytest and playwright, and generating the Junit XML file for the report of the results. In the pytest.ini file you can configure junit_log_passing_tests=True and also junit_logging=system-out, which will include an element
<system-out></system-out>section in the XML for the test cases that have any info. When importing into TestRail via TRCLI, this information is not included in the run results for failed or passed test cases. Is it possible to do this any other way?For example, I can modify the XML before importing to merge the system-out info into the
<failure></failure>section, so that I will see it for failed scripts. However, I cannot do this for passing scripts since they have no failure section.I'd really like to see the system-out info because we output information that is of value when looking at the test results, for what ever reason we need to do that.
Thanks,
Aracknid
Beta Was this translation helpful? Give feedback.
All reactions