-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
53 lines (46 loc) · 1.09 KB
/
pytest.ini
File metadata and controls
53 lines (46 loc) · 1.09 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
50
51
52
53
[pytest]
# pytest configuration for GAFreqTrade
# Test discovery patterns
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Directories to search for tests
testpaths = tests
# Output options
addopts =
--verbose
--strict-markers
--color=yes
--tb=short
--cov=ga_core
--cov=evaluation
--cov=orchestration
--cov=storage
--cov=utils
--cov-report=term-missing
--cov-report=html:htmlcov
# Markers for organizing tests
markers =
unit: Unit tests for individual functions/classes
integration: Integration tests for workflows
slow: Tests that take longer to run
mock: Tests using mock data instead of real backtests
# Warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
# Coverage options
[coverage:run]
omit =
*/tests/*
*/test_*.py
*/__pycache__/*
*/site-packages/*
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
if TYPE_CHECKING: