Continiously runs pytest on changes in *.py files
Project description
A simple watcher for pytest
Overview
pytest-watcher is a tool to automatically rerun pytest
when your code changes.
It looks for *.py
files changes in a directory that you specify. pytest
will be automatically invoked when you create new files and modify or delete existing.
Install pytest-watcher
pip install pytest-watcher
Usage
Specify the path that you want to watch:
ptw .
or
ptw /home/repos/project
Any additional arguments will be forwarded to pytest
:
ptw . -x --lf --nf
Compatibility
The utility is OS independent and should work on any platform.
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
pytest-watcher-0.2.1.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for pytest_watcher-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c5773934de9f506746c98108c4ce758705f61eeb03b9fb55ba8485475ba0711 |
|
MD5 | a9459824861920158b9eb9f8a06bd922 |
|
BLAKE2b-256 | 6448da71bb595b039933ef4c2878f73d2f856a886adaebe572ae24c3059a03b9 |