{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/5"}],"enrichment":{"capability":"A pytest plugin that runs a daemon to watch and hot-reload test code, skipping repeated imports and initialization to speed up test iteration cycles.","skillfed_tags":["test-performance","dev-tool","pytest-plugin"],"use_cases":["Speeding up test-driven development workflows where you run the same test suite repeatedly with small code changes.","Large projects with slow import times where skipping re-imports on each test run saves seconds per iteration.","Django projects using --keep-db to preserve the test database across hot-reloaded runs.","Development environments where you want to keep a pytest daemon running in the background and trigger tests from your IDE."],"what_it_does":"pytest-hot-reloading is a pytest plugin that runs a background daemon to watch your test files and automatically reload them without restarting the entire pytest process. Instead of re-importing libraries and re-running initialization logic on every test run, it caches those expensive operations and only re-executes the test code itself, dramatically reducing iteration time for large projects with slow imports.\n\nThe plugin uses jurigged to monitor file changes and cachetools to store import state across runs. It trades off first-run speed (which can be 10\u2013100% slower due to the caching overhead) for much faster subsequent runs. It requires Python 3.10 or later, must be configured in your pytest settings, and needs the daemon to be started separately or with a command-line flag. The plugin is dormant (last updated 690 days ago) and has no known vulnerabilities, but also receives no active maintenance.","worth_installing":"Yes, if you have a large project with slow imports and run tests frequently during development. The dormant maintenance status and unclear license are minor concerns; the bigger risk is that the plugin may not work with all libraries (it notes workarounds exist but require manual setup) and can occasionally enter a bad state requiring a restart. Not worth installing if your test suite runs in under 5 seconds, or if you need active maintenance and support."},"id":"pytest-hot-reloading","links":{"html":"https://skillfed.io/packages/pytest-hot-reloading","md":"https://skillfed.io/packages/pytest-hot-reloading.md","pypi":"https://pypi.org/project/pytest-hot-reloading/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-09-23","license_spdx":null,"license_treatment":"unclear","name":"pytest-hot-reloading","python_support":"supports_current","summary":null},"popularity":{"monthly_downloads":189025,"position":9936,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.0a19"}
