https://github.com/squiddy/pytest-overwatch
pytest-overwatch is a Jest inspired interactive test runner plugin for pytest. It reruns tests whenever files change and allows you to select a subset of tests to run.
https://github.com/squiddy/pytest-overwatch
pytest pytest-plugin
Last synced: about 1 year ago
JSON representation
pytest-overwatch is a Jest inspired interactive test runner plugin for pytest. It reruns tests whenever files change and allows you to select a subset of tests to run.
- Host: GitHub
- URL: https://github.com/squiddy/pytest-overwatch
- Owner: squiddy
- License: mit
- Created: 2020-04-12T18:41:08.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-11-14T06:27:19.000Z (over 2 years ago)
- Last Synced: 2025-03-15T03:48:07.227Z (over 1 year ago)
- Topics: pytest, pytest-plugin
- Language: Python
- Homepage:
- Size: 290 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pytest-overwatch
[](https://opensource.org/licenses/MIT)
**pytest-overwatch** is a Jest inspired interactive test runner plugin for
pytest. It reruns tests whenever files change and allows you to select a
subset of tests to run.
**Work in progress!**
## Features
- [x] re-run tests on file change
- [x] select subset of tests based on filename
- [ ] select subset of tests based on test name
- [x] support dropping into debugger on test failure
## In action

## Motivation
**pytest** is my go-to test runner for python projects and I use it heavily at
work. I usually use the `--looponfailure` feature of the
**pytest-xdist** plugin on the side, however having worked quite some time
with Jest in the javascript world, I was missing two things:
* ability to rerun all the selected tests constantly - instead of just the
failed ones - to discover potential new failures
* running a subset of all tests easily
## Related projects
* https://github.com/pytest-dev/pytest-xdist
* https://github.com/joeyespo/pytest-watch
* https://github.com/facebook/jest