Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to capture stdout in html report when using sbase gui #3426

steve-archuleta started this conversation in General
Discussion options

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?

You must be logged in to vote

Replies: 1 comment 2 replies

Comment options

I'll make an update in the next release to modify the default sbase gui parameters.

You must be logged in to vote
2 replies
Comment options

Thank you

Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /