pytest-dev / pytest-dev/pytest
Add a new hook to inform user of current state on signal
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 some tests run for a very long time it is important to be able to know what are these tests. Currently it is difficult to find out.
Describe the solution you'd like
Pressing Ctrl-T should show the list of currently running tasks.
On FreeBSD we have a similar situation: the program that builds packages normally prints what packages were just finished or started, but when Ctrl-T is pressed it prints the list of currently running builds like this:
PyTest should do the same and on Ctrl-T should print the list of all currently running tests with their times, statuses, etc.
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
The issue names no files or tests. Start by locating pytest's signal-handling and running-test reporting entry points, then determine how a Ctrl-T interaction could expose currently running tests without interrupting execution. Done means an implemented hook reports the current tests, including their times and statuses, when Ctrl-T is pressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100