-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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: