Skip to content

Commit 27bc6d6

Browse files
committed
test: Add coverage configuration
1 parent 3d91282 commit 27bc6d6

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.coveragerc

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[run]
2+
omit =
3+
test/*
4+
*/.vscode/*
5+
branch = True
6+
dynamic_context = test_function
7+
relative_files = True
8+
9+
[paths]
10+
source = staged_script
11+
12+
[report]
13+
skip_covered = False
14+
fail_under = 100
15+
show_missing = True
16+
exclude_lines =
17+
pragma: no cover
18+
if 0:
19+
if False:
20+
21+
[html]
22+
directory = test/htmlcov
23+
title = staged-script Coverage Report
24+
show_contexts = True
25+
26+
[xml]
27+
output = test/coverage.xml
28+
29+
[json]
30+
output = test/coverage.json
31+
pretty_print = True
32+
show_contexts = True
33+
34+
[lcov]
35+
output = test/coverage.lcov

0 commit comments

Comments
 (0)