-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtarpaulin.toml
More file actions
39 lines (30 loc) · 760 Bytes
/
tarpaulin.toml
File metadata and controls
39 lines (30 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Tarpaulin code coverage configuration
[tool.tarpaulin]
# Exclude test files from coverage
exclude_files = [
"tests/*",
"*/tests/*",
"*/test_*.rs",
"*/benches/*",
]
# Exclude specific patterns
exclude_globs = [
"target/**",
"**/target/**",
"patches/**",
]
# Coverage threshold (percentage)
# Enforce minimum coverage - fail if below this threshold
fail_under = 80
# Output formats
out = ["Html", "Xml", "Stdout"]
# Include tests in coverage report
follow_exec = true
# Timeout for tests (in seconds)
timeout = 300
# Exclude lines that are only used in tests
exclude_tests = true
# Exclude lines that are only used in examples
exclude_examples = true
# Exclude lines that are only used in benchmarks
exclude_benches = true