Requesting --capture option to not display all captured output to stdout on test failure #1237
Labels
plugin: capture
related to the capture builtin plugin
plugin: logging
related to the logging builtin plugin
Uh oh!
There was an error while loading. Please reload this page.
I have a use case where tests create debug logs to files (Python's logging module). When a test fails, PyTest displays all captured debug logs to stdout.
The way logging is configured:
Requesting a fourth option, "forget"*, for
--capture
flag that does not output captured output but does preserves and outputs PyTest's own output (results, etc.). I have created PR 1233 with proof of concept patch as well.*
--capure=no
did not capture but let the stdout/stderr output straight through to stdoutThe text was updated successfully, but these errors were encountered: