This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

TODO

  • option to separately logging test errors and coverage
  • sending flow status and log results to remote server
Release History

Release History

This version
History Node

0.2.0

History Node

0.1.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
tddmon-0.2.0-py2.py3-none-any.whl (13.2 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Feb 22, 2015
tddmon-0.2.0.tar.gz (10.2 kB) Copy SHA256 Checksum SHA256 Source Feb 22, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting