| 1 |
# ========================================================================= |
| 2 |
# COVERAGE CONFIGURATION FILE: .coveragerc |
| 3 |
# ========================================================================= |
| 4 |
# LANGUAGE: Python |
| 5 |
# SEE ALSO: |
| 6 |
# * http://nedbatchelder.com/code/coverage/ |
| 7 |
# * http://nedbatchelder.com/code/coverage/config.html |
| 8 |
# ========================================================================= |
| 9 |
|
| 10 |
[run] |
| 11 |
# append = .coverage |
| 12 |
# include = behave* |
| 13 |
source = behave |
| 14 |
branch = True |
| 15 |
parallel = True |
| 16 |
|
| 17 |
[report] |
| 18 |
# Regexes for lines to exclude from consideration |
| 19 |
exclude_lines = |
| 20 |
# Have to re-enable the standard pragma |
| 21 |
pragma: no cover |
| 22 |
|
| 23 |
# Don't complain about missing debug-only code: |
| 24 |
def __repr__ |
| 25 |
if self\.debug |
| 26 |
|
| 27 |
# Don't complain if tests don't hit defensive assertion code: |
| 28 |
raise AssertionError |
| 29 |
raise NotImplementedError |
| 30 |
|
| 31 |
# Don't complain if non-runnable code isn't run: |
| 32 |
if 0: |
| 33 |
if False: |
| 34 |
if __name__ == .__main__.: |
| 35 |
|
| 36 |
ignore_errors = True |
| 37 |
|
| 38 |
[html] |
| 39 |
directory = build/coverage.html |
| 40 |
|
| 41 |
[xml] |
| 42 |
output = build/coverage.xml |
| 43 |
|