How to capture stdout in html report when using sbase gui #3426
steve-archuleta
started this conversation in
General
Replies: 1 comment 2 replies
-
I'll make an update in the next release to modify the default |
Beta Was this translation helpful? Give feedback.
2 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.
-
When I run "pytest my_first_test.py --html=report.html" from command line, then any print statements I have in my_first_test.py will be captured within the report.html under the test detail section. I believe this is because pytest.ini contains "--capture=tee-sys". However, if I try to run the same test using "sbase gui", then it automatically appears to use "-s" which disables capture. I've tried adding the --capture option as an "additional option" but it doesn't seem to work. Is there a way to use "sbase gui" to run tests and still have stdout captured to the --html report file?
Beta Was this translation helpful? Give feedback.
All reactions