-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathpytest.ini
More file actions
30 lines (30 loc) · 912 Bytes
/
pytest.ini
File metadata and controls
30 lines (30 loc) · 912 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
[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts =
--cov=src
--cov-report=html
--cov-report=xml
--cov-report=term-missing
--cov-fail-under=80
--tb=short
-v
--strict-markers
--strict-config
markers =
unit: Unit tests (fast, no external dependencies)
integration: Integration tests (slower, may need Docker)
security: Security-focused tests
performance: Performance and load tests
edge_case: Edge case and failure scenario tests
orchestration: Workflow, policy, and inventory orchestration tests
slow: Tests that take longer to run
smoke: Quick smoke tests for basic functionality
regression: Regression tests for bug fixes
compliance: Compliance and regulatory tests
filterwarnings =
ignore::UserWarning
ignore::DeprecationWarning
ignore::PendingDeprecationWarning