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 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page