-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
41 lines (36 loc) · 827 Bytes
/
Copy pathpytest.ini
File metadata and controls
41 lines (36 loc) · 827 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
39
40
41
[pytest]
# pytest configuration file
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# pytest options
addopts =
-v
--strict-markers
--strict-config
--cov=engine
--cov-report=term-missing
--cov-report=html:htmlcov
--cov-report=xml:coverage.xml
# Markers
markers =
unit: Unit tests (fast, no external dependencies)
integration: Integration tests (may require external services)
performance: Performance benchmarks
slow: Slow tests (skip with `-m "not slow"`)
# Coverage settings
[coverage:run]
source = engine
omit =
tests/*
*/tests/*
*/test_*.py
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.: