Continiously watches for changes in your python files and runs pytest
Reason this release was yanked:
Change command name
Project description
A simple watcher for pytest
Overview
pytest-watcher is a tool to automatically rerun pytest
whenever any .py
file changes in your project.
It uses Linux inotify API for event monitoring via python inotify library.
pytest
invocation will be triggered when you change, delete or create new python files in watched directory.
Install pytest-watcher
pip install pytest-watcher
Usage
Specify the path that you want to watch:
pytest-watcher .
or
pytest-watcher /home/repos/project
Any additional arguments will be forwarded to pytest
:
pytest-watcher . -x --lf --nf
Compatibility
This utility should be compatible with any Linux-based Operating System.
Because it relies on inotify
API, using on MacOS or Windows is not currently possible.
Library code is tested for Python versions 3.6+
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pytest_watcher-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a02b73cb2606dda47c347e71902b982a56d9ee2d493874d2012584e9a1308d2 |
|
MD5 | 476d0908c48fc125e4273908361ad7a9 |
|
BLAKE2b-256 | 4a95bad75513c2a547c38262ce539858811ce761d5844758e2c11b0eed139312 |