pytest-dev / pytest-dev/pytest
feature request: use --show-capture to show stdout and stderr but not logs
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 14.5k
- Forks
- 3.4k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 35
Description
What's the problem this feature will solve?
I want to use the show-capture flag to stop showing log messages. However, I want to see both stdout and stderr, so I can't do show-capture=stdout or show-capture=stderr. It seems if I do --show-capture=stdout --show-capture=stderr I see stderr but not stdout.
Describe the solution you'd like
Maybe --show-capture=stdout --show-capture=stderr could capture both stdout and stderr.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the --show-capture command-line reference linked in the issue and reproduce the behavior using separate stdout, stderr, and log capture settings. Check how repeated --show-capture options are parsed, then add coverage showing that stdout and stderr can both be displayed without logs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100