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.
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
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
File details
Details for the file instrumental-0.2devdev.tar.gz
.
File metadata
- Download URL: instrumental-0.2devdev.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4a1fef46752f4250affa0d0ce09afead28d16ebd747a9255a2cf09b09775521 |
|
MD5 | a541ea3251c6a84dfa515b47000386d7 |
|
BLAKE2b-256 | c6aed31c9a6f1c470996b599a49c06c7dd5e2f55c7ee4b67fcc215525cf183a8 |