TDD flow monitor.
Project description
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
TODO
option to separately logging test errors and coverage
sending flow status and log results to remote server
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tddmon-0.2.0.tar.gz
.
File metadata
- Download URL: tddmon-0.2.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0855a10fda14335f9a426206c4167c0476d25005234a49be78dcad3cf934839a |
|
MD5 | eae44325d5b77590b535d889d648c40c |
|
BLAKE2b-256 | 3e272fafb9b48abe6306faf97c24fc018410cee3a1d6e1675cf163244256e728 |
File details
Details for the file tddmon-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: tddmon-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd5fa045391aa5120d3eeb396cff35cbb1679ae87e696397174394c061f40673 |
|
MD5 | 11d56e286348b48b836df16ececb0c2c |
|
BLAKE2b-256 | 511e9bd53d8590692e6fab99e1f27035f2d79572d7303b01a9091215305ff7a8 |