Skip to main content

A condition/decision coverage tool for Python

Project description

Instrumental automatically instruments your code to add function calls that reveal execution characteristics. Instrumental can then monitor execution of your code and report back to you on how your source was executed.

When you run a script with Instrumental, it will tell you which decisions and conditions haven’t been fully exercised. So for a decision in an if statement, it will tell you if the decision only ever evaluated True or False. Instrumental will also tell you if the conditions in boolean decisions (and, or) were ever executed both True and False.

As an example: if you usually say

python setup.py nosetests

you can say

instrumental -rS -t <packagename> setup.py nosetests

where packagename is the name of your project’s top-level package.

For more information visit the Instrumental documentation.

Announcements and discussion about instrumental can be found on the “python-instrumental-discuss” google group.

Please file bug reports and enhancement requests on bitbucket.

Project details


Release history Release notifications

This version
History Node

0.5.3

History Node

0.5.2

History Node

0.5.1

History Node

0.4.0

History Node

0.4b5

History Node

0.4b4

History Node

0.4b3

History Node

0.4b2

History Node

0.4b1

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3.1b1

History Node

0.3b2

History Node

0.3b1

History Node

0.2.1

History Node

0.2devdev

History Node

0.2dev

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
instrumental-0.5.3.tar.gz (148.8 kB) Copy SHA256 hash SHA256 Source None Sep 30, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page