This small change allows the user to capture stdout on successful tests to the comment field in testrails. This can be useful to track results that go beyond a binary PASS/FAIL.
In order to use it in testrails, simply run your pytest with the --capture=sys flag to enable capture (see here)
This small change allows the user to capture
stdout
on successful tests to thecomment
field in testrails. This can be useful to track results that go beyond a binary PASS/FAIL.In order to use it in testrails, simply run your pytest with the
--capture=sys
flag to enable capture (see here)