Feature Request: --capture=hide to hide stdout/stderr from the terminal #1478
Comments
FWIW, I think this sounds really useful. I often did some change which caused a lot of tests (which also print hundreds of lines each) to fail, and hiding the captured output would've given me a nicer overview of what could be going wrong. |
I agree it might be useful. Currently though |
It might be super useful for me, we test an application with lots of logging and it gets super tiring to find the test traceback under the captured |
In my ideal, there'd be an equivalent to |
Please, review: |
This code mimics Python code with lots of stdout output:
Running pytest with
--tb=short
, I get the following output:It would be helpful if I could disable the sections "captured stdout/err call", e.g. with
--capture=hide
, especially as our code prints hundreds of lines usually. The additional information that--tb=short
gives over--tb=line
however is very useful for understanding where problems come from.The text was updated successfully, but these errors were encountered: