generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy pathpytest.ini
More file actions
36 lines (32 loc) · 1.1 KB
/
pytest.ini
File metadata and controls
36 lines (32 loc) · 1.1 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
[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Configure test discovery and execution
addopts =
--verbose
--cov=automated_security_helper
--cov-report=term-missing
--cov-report=xml:test-results/pytest.coverage.xml
--cov-report=html:test-results/coverage_html
--junit-xml=test-results/pytest.junit.xml
--durations=10
-n 1
--cov-config=.coveragerc
# Configure markers for test categorization
markers =
unit: Unit tests that test individual components in isolation
integration: Integration tests that test component interactions
slow: Tests that take a long time to run
scanner: Tests related to scanner functionality
reporter: Tests related to reporter functionality
config: Tests related to configuration functionality
model: Tests related to data models
# Configure test output
log_cli = True
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
log_cli_date_format = %Y-%m-%d %H:
# asyncio configuration
asyncio_default_fixture_loop_scope = "module"