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.

Source Distribution

pytdd-1.1.0.tar.gz (3.2 kB view hashes)

Uploaded source

Built Distribution

pytdd-1.1.0-py3-none-any.whl (4.6 kB view hashes)

Uploaded py3

Supported by

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