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.

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