{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"}],"enrichment":{"capability":"Runs pytest continuously, re-executing tests whenever project files change, with optional notifications and custom commands on pass or fail.","skillfed_tags":["abandoned","file-watcher","test-automation"],"use_cases":["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."],"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\u2014instead, 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.\n\nThe 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\u2014last updated in May 2018 with no recent maintenance\u2014which raises compatibility concerns with modern pytest and Python versions.","worth_installing":"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."},"id":"pytest-watch","links":{"html":"https://skillfed.io/packages/pytest-watch","md":"https://skillfed.io/packages/pytest-watch.md","pypi":"https://pypi.org/project/pytest-watch/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2018-05-20","license_spdx":null,"license_treatment":"permissive","name":"pytest-watch","python_support":"unspecified","summary":"Local continuous test runner with pytest and watchdog."},"popularity":{"monthly_downloads":946128,"position":4666,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"4.2.0"}
