pytest-watch
Local continuous test runner with pytest and watchdog.
Decision gist · record as of 2026-08-14
No. The package is abandoned (last release May 2018, no commits since July 2022) and has high install friction due to source-only distribution and unspecified Python version support. While the core idea is sound, the lack of maintenance means it will likely fail on modern Python versions or with current pytest releases. Consider actively maintained alternatives before installing.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires watchdog library and its system dependencies (varies by OS); no explicit Python version constraint specified in package metadata.
- High install friction due to source distribution only.
- Package is abandoned—last release May 2018, no commits since July 2022, and no maintenance activity for many years.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.
last release 2018-05-20 (3008 days) · last repo commit 2022-07-20 · 764 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 946,128 downloads/mo, #4,666 on PyPI
Alternatives
Verify before relying
$ pip install pytest-watch
$ cd myproject
$ ptw
# Watches for file changes and re-runs pytest automatically- Whether watchdog's system-level file monitoring dependencies are documented or automatically resolved on all target platforms.
- Current compatibility with modern pytest versions and Python 3.x releases, given the package has not been updated since 2018.
- Whether the beep-on-failure feature and OS-specific notification commands still work on current systems.
What it is and what it does
pytest-watch is a command-line tool that monitors your project directory and automatically re-runs pytest whenever a file changes. It eliminates the manual cycle of editing code, switching to a terminal, and running tests by hand—instead, tests run continuously in the background and notify you of pass/fail status. The tool is zero-config by default but can be customized via pytest.ini to ignore directories, adjust file extensions, run setup/teardown commands, or trigger external notifications.
The package relies on watchdog for file system monitoring. It offers a range of options including custom test runners, interactive debugger integration, and the ability to run arbitrary shell commands before tests, after tests, or on pass/fail events. However, the project is abandoned—last updated in May 2018 with no recent maintenance—which raises compatibility concerns with modern pytest and Python versions.
Use it for
- Test-driven development workflow where you want tests to run automatically as you edit code without manual intervention.
- Debugging complex test failures by running tests continuously while iterating on fixes, with optional beep or desktop notifications on failure.
- Pre-commit validation by running a custom command after each test pass to enforce code quality checks or database cleanup.
- Development in virtual machines or containers where OS-level file events may not work reliably, using the --poll option for polling-based file monitoring.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last release May 2018, no commits since July 2022) and has high install friction due to source-only distribution and unspecified Python version support. While the core idea is sound, the lack of maintenance means it will likely fail on modern Python versions or with current pytest releases. Consider actively maintained alternatives before installing.
Install
pytest-watch on PyPI
Before you install
High install friction due to source distribution only. Package is abandoned—last release May 2018, no commits since July 2022, and no maintenance activity for many years. Relies on watchdog for file monitoring, which may have unmet system dependencies.
Requires watchdog library and its system dependencies (varies by OS); no explicit Python version constraint specified in package metadata.
License in practice
MIT license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
$ pip install pytest-watch
$ cd myproject
$ ptw
# Watches for file changes and re-runs pytest automatically
Verify before relying
- Whether watchdog's system-level file monitoring dependencies are documented or automatically resolved on all target platforms.
- Current compatibility with modern pytest versions and Python 3.x releases, given the package has not been updated since 2018.
- Whether the beep-on-failure feature and OS-specific notification commands still work on current systems.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 3,008 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 946,128 / month, #4,666 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: pytest-watch-4.2.0.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “test-driven development workflow”
- pytest-watchRuns pytest continuously, re-executing tests whenever project files…
- tdd-guard-pytestA pytest plugin that captures test results and integrates them with…
- atddATDD is a CLI toolkit that structures AI agent work into…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also pytest-watcher · doit · pytest-progress · pytest-rerunfailures · pytest-cache · pytest-runner · watchfiles · pywatchman · pytest-instafail · pytest-catchlog