Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pytdd, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pytdd-1.1.0-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pytdd-1.1.0.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page