Skip to main content

TDD flow monitor.

Project description

Wheel Status Latest Version License

Goal

Help keeping Test Driven Development flow.

Installation

Install TddMon:

pip install tddmon

or current development version:

pip install hg+https:://bitbucket.org/kidosoft/tddmon

Usage

tddmon -l test_run.log test_unit.py

In above example file test_unit.py will be run like any other module so be sure to put unittest.main() or similar inside it. tddmon will monitor all “.py” files inside current directory for changes in modification time and run test whenever their change.

Monitored files will be measured for coverage. Test results will be logged into log file (test_run.log in example) and on stdout you’ll see your working flow in TDD.

  • red - one or more tests fail

  • green - your tests has passed

  • blue - consecutive run tests has passed; in most cases it means your refactoring your code.

If you want to limit files to measure coverage use .coveragerc as described on coverage module page: http://nedbatchelder.com/code/coverage/config.html

Documentation

http://kidosoft.pl/docs/tddmon/

TODO

  • option to separately logging test errors and coverage

  • sending flow status and log results to remote server

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

tddmon-0.1.2.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

tddmon-0.1.2-py2.py3-none-any.whl (11.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tddmon-0.1.2.tar.gz.

File metadata

  • Download URL: tddmon-0.1.2.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tddmon-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f60e0345b997974afd601c49185539ba9a75fcabc445c39d101e72c13ff2cd5a
MD5 b8c0dc0ed2bb5f67e328322a6676cef1
BLAKE2b-256 aa881a172fc8857cd5ad94a48b9e66c21ee4f0b38b14e82d8ff8b7924f531699

See more details on using hashes here.

File details

Details for the file tddmon-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for tddmon-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4fdcc398c8632c5aed12d30196fe14961234ec040cc59f7e1288046fa1cdbffe
MD5 45d8cd2d4ee05368126050e9484984e8
BLAKE2b-256 df2f924b1ab1e3f1a13d3bc5aadbf8e89b7c4336c2fafe4ff458413152fc1b46

See more details on using hashes here.

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