-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
45 lines (45 loc) · 1.13 KB
/
pytest.ini
File metadata and controls
45 lines (45 loc) · 1.13 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
[tool:pytest]
minversion = 7.0
testpaths = tests
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
addopts =
--strict-markers
--strict-config
--verbose
--tb=short
--cov=src
--cov-report=term-missing
--cov-report=html:htmlcov
--cov-report=xml:coverage.xml
--cov-fail-under=80
--asyncio-mode=auto
--durations=10
--maxfail=5
-p no:warnings
filterwarnings =
ignore::UserWarning
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
markers =
unit: Unit tests
integration: Integration tests
e2e: End-to-end tests
slow: Slow tests (> 1s)
external: Tests requiring external services
database: Tests requiring database
redis: Tests requiring Redis
rabbitmq: Tests requiring RabbitMQ
auth: Authentication tests
api: API tests
performance: Performance tests
security: Security tests
smoke: Smoke tests
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(name)s: %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
asyncio_mode = auto
junit_family = xunit2
junit_logging = all