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 of your code. 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.

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

instrumental-0.2dev.tar.gz (9.5 kB view details)

Uploaded Source

File details

Details for the file instrumental-0.2dev.tar.gz.

File metadata

  • Download URL: instrumental-0.2dev.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for instrumental-0.2dev.tar.gz
Algorithm Hash digest
SHA256 26c91360488d81cb11e195473ed05c2cfb161fae6e2049c9dd94a8d7fedd2580
MD5 15b67f6be50130eeef992f50ddbefde5
BLAKE2b-256 d0d1224ec8534ec6b4e96f5aeb0ce692e093468926c101c7ada667e3f1ccd910

See more details on using hashes here.

Supported by

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