Skip to main content

python TDD assistant, runs test command on source file change only

Project description


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.


pip install pytdd


pytdd [dir] start the watcher in current dir or the specified one, all the subdirectories will also be watched.


in the file pytdd.conf

 patterns = ["*py"]
 ignore_patterns = ["*#*", "*~"]
 cmd = ["pytest", "-x", "--ff", "tests/test*py"]
 force_delay = 300
 min_delay = 15


  • 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

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page