-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
49 lines (39 loc) · 1.05 KB
/
pytest.ini
File metadata and controls
49 lines (39 loc) · 1.05 KB
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
39
40
41
42
43
44
45
46
47
48
49
[pytest]
# Pytest configuration for BigPlanet
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Test options (coverage flags should be added via command line when pytest-cov is installed)
addopts =
--verbose
--strict-markers
# Minimum coverage threshold (will fail if below this)
# Start at 50%, increase as tests are added
[coverage:run]
source = bigplanet
omit =
*/tests/*
*/test_*
*/__pycache__/*
*/bigplanet_version.py
concurrency = multiprocessing
parallel = True
[coverage:report]
precision = 2
show_missing = True
skip_covered = False
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about missing debug-only code
def __repr__
# Don't complain if tests don't hit defensive assertion code
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run
if __name__ == .__main__.:
# Don't complain about abstract methods
@abstract
[coverage:html]
directory = htmlcov