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
Metadata
Release files for pytdd 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytdd-1.1.0.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytdd-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / pytdd-1.1.0.tar.gz
| Download URL | pytdd-1.1.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
397627bebc4e6b3a0f609a3e4c2ae42cb0b5464f28a3dcf657d89a6033c0fbc7
|
|
BLAKE2b-256 checksum How to use checksums |
92ae0037805bc7fd2d9fa48756493a14ed472365307a499e40f0f6148460f2c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pytdd-1.1.0-py3-none-any.whl
| Download URL | pytdd-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
84b1aa8a356c02189440f8d66d7a057b98fa53b08312e8e66e8b008d2f3b9062
|
|
BLAKE2b-256 checksum How to use checksums |
ddabef21c52efe16bdc28a48782d5c55f5436517867ca1a2c4c3fd607c307cc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|