{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/3"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"}],"enrichment":{"capability":"Automatically reruns pytest (or another test runner) whenever your Python code changes, using native system file monitoring on supported platforms.","skillfed_tags":["test-automation","file-watcher","dev-tools"],"use_cases":["Rapid feedback loop during test-driven development where you want tests to run immediately after saving code","Continuous validation of a specific directory or file pattern while refactoring","Running alternative test runners with the same watch-and-rerun workflow","Ignoring certain files while watching the rest of your codebase"],"what_it_does":"pytest-watcher is a command-line tool that monitors your Python project for file changes and automatically reruns your tests. It watches for new, modified, deleted, or moved .py files by default, though you can customize the patterns. The tool uses native system file monitoring APIs (via watchdog) instead of polling, making it efficient on supported platforms including Unix and Windows.\n\nYou run it with `ptw .` to watch your current directory, and it passes any additional arguments to pytest or your chosen test runner. It includes a configurable delay (default 0.2 seconds) to account for post-processors like code formatters, optional screen clearing, and terminal notifications on test failure. Configuration can be set in pyproject.toml, and it requires Python 3.9 or later.","worth_installing":"Yes, if you want a lightweight, low-friction way to automatically rerun tests during development. The aging maintenance status (last release 216 days ago) means you should not expect rapid bug fixes, but the package is stable and has no known vulnerabilities. Install it for active development workflows where continuous test feedback is valuable."},"id":"pytest-watcher","links":{"html":"https://skillfed.io/packages/pytest-watcher","md":"https://skillfed.io/packages/pytest-watcher.md","pypi":"https://pypi.org/project/pytest-watcher/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2026-01-10","license_spdx":"MIT","license_treatment":"permissive","name":"pytest-watcher","python_support":"supports_current","summary":"Automatically rerun your tests on file modifications"},"popularity":{"monthly_downloads":1808295,"position":3532,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.6.3"}
