Skip to content

Captured-log support for --show-capture #3233

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

Closed
twmr opened this issue Feb 18, 2018 · 0 comments
Closed

Captured-log support for --show-capture #3233

twmr opened this issue Feb 18, 2018 · 0 comments

Comments

@twmr
Copy link
Contributor

twmr commented Feb 18, 2018

In #3176 a --show-capture option was added (part of the reporting section
of the pytest -h helptext), which currently supports a discrete set of
values: {no,stdout,stderr,both}.

I propose to add support for captured logs to --show-capture. This idea
came up in #3204. The list of allowed values should probably be changed to
{no,stdout,stderr,log,all}. The show-caputure option should not only be
used in the report generation part of pytest but also when pytest enters
the debugger when --pdb is used (see #3186 and #3210).

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

No branches or pull requests

2 participants