-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
39 lines (32 loc) · 821 Bytes
/
pytest.ini
File metadata and controls
39 lines (32 loc) · 821 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
[pytest]
# Pytest configuration file
# Minimum Python version
minversion = 7.0
# Test discovery patterns
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-v
--strict-markers
--tb=short
--disable-warnings
# Markers for organizing tests
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
async: marks tests as async
integration: marks tests as integration tests
unit: marks tests as unit tests
security: marks tests as security tests
performance: marks tests as performance tests
# Coverage options
testpaths = tests
# Timeout for tests (seconds)
# Uncomment if you install pytest-timeout
# timeout = 300
# Logging
log_cli = false
log_cli_level = INFO
log_file = tests.log
log_file_level = DEBUG