pytest-dev / pytest-dev/pytest
Integrate pytest-instafail functionality into the core
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?
When you have hours of tests to run (for example thousands of integration tests) you can be able to see the logs during execution and start fixing errors.
Actually, I found a 2015 question on StackOverflow about that but no solution there worked. I tried using flags -v, -rA, -v --tb=no and also --tb=line.
Describe the solution you'd like
Have a flag to show failed test's errors while executing the tests (instead of standard after all tests were executed).
Alternative Solutions
Some of the existing flags such as -v, -rA, -v --tb=no and also --tb=line have this behavior.
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 by examining pytest-instafail and pytest's existing reporting flags, including -v, -rA, --tb=no, and --tb=line. Determine how failed-test errors should appear during execution, then add the option and tests demonstrating live failure output while the test run continues.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100