python TDD assistant, runs test command on source file change only
Project description
pyTDD
Small tool to help developing in python using Test Driven Dev method. Triggers changes on source or test files and exec a specific command like pytest.
installation
pip install pytdd
usage
pytdd [dir]
start the watcher in current dir or the specified one, all the subdirectories will also be watched.
configuration
in the file pytdd.conf
[pytdd]
patterns = ["*py"]
ignore_patterns = ["*#*", "*~"]
cmd = ["pytest", "-x", "--ff", "tests/test*py"]
force_delay = 300
min_delay = 15
changelog
- 1.1.0: expand file list for pytdd to work on Windows
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
pytdd-1.1.0.tar.gz
(3.2 kB
view details)
Built Distribution
pytdd-1.1.0-py3-none-any.whl
(4.6 kB
view details)
File details
Details for the file pytdd-1.1.0.tar.gz
.
File metadata
- Download URL: pytdd-1.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 397627bebc4e6b3a0f609a3e4c2ae42cb0b5464f28a3dcf657d89a6033c0fbc7 |
|
MD5 | 154f17253520fbefb62686b44aa11063 |
|
BLAKE2b-256 | 92ae0037805bc7fd2d9fa48756493a14ed472365307a499e40f0f6148460f2c5 |
File details
Details for the file pytdd-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: pytdd-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84b1aa8a356c02189440f8d66d7a057b98fa53b08312e8e66e8b008d2f3b9062 |
|
MD5 | acd3f1b35c8ff9fab00a8a12dc1e7135 |
|
BLAKE2b-256 | ddabef21c52efe16bdc28a48782d5c55f5436517867ca1a2c4c3fd607c307cc8 |