https://github.com/olzhasar/pytest-watcher Skip to content Sign up * Why GitHub? Features - + Mobile - + Actions - + Codespaces - + Packages - + Security - + Code review - + Issues - + Integrations - + GitHub Sponsors - + Customer stories- * Team * Enterprise * Explore + Explore GitHub - Learn and contribute + Topics - + Collections - + Trending - + Learning Lab - + Open source guides - Connect with others + The ReadME Project - + Events - + Community forum - + GitHub Education - + GitHub Stars program - * Marketplace * Pricing Plans - + Compare plans - + Contact Sales - + Education - [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} olzhasar / pytest-watcher Public * Notifications * Star 23 * Fork 0 Rerun pytest when your code changes MIT License 23 stars 0 forks Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Wiki * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Wiki * Security * Insights master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 1 branch 3 tags Code Latest commit @olzhasar olzhasar Update README.md ... 371e014 Sep 18, 2021 Update README.md 371e014 Git stats * 19 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time pytest_watcher Update version to 0.2.1 Sep 18, 2021 tests Update version to 0.2.1 Sep 18, 2021 .gitignore Initial commit Sep 16, 2021 LICENSE Add MIT license Sep 17, 2021 README.md Update README.md Sep 18, 2021 poetry.lock Update version to 0.2.0. Change watchdog dep version Sep 18, 2021 pyproject.toml Update version to 0.2.1 Sep 18, 2021 tox.ini Migrate to watchdog from inotify Sep 18, 2021 View code A simple watcher for pytest Overview What about pytest-watch? Install pytest-watcher Usage Compatibility README.md A simple watcher for pytest PyPI PyPI - Python Version GitHub Overview pytest-watcher is a tool to automatically rerun pytest when your code changes. It looks for the following events: * New *.py file created * Existing *.py file modified * Existing *.py file deleted What about pytest-watch? pytest-watch was around for a long time and was solving exactly this problem. Sadly, pytest-watch is not maintained anymore and not working for many users. I wrote this tool as a substitute Install pytest-watcher pip install pytest-watcher Usage Specify the path that you want to watch: ptw . or ptw /home/repos/project Any arguments after will be forwarded to pytest: ptw . -x --lf --nf Compatibility The utility is OS independent and should be able to work with any platform. Code is tested for Python versions 3.6+ About Rerun pytest when your code changes Topics python pytest testing-tools watcher Resources Readme License MIT License Releases 3 Version 0.2.1 Latest Sep 18, 2021 + 2 releases Packages 0 No packages published Languages * Python 100.0% * (c) 2021 GitHub, Inc. * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.