-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpytest.ini
More file actions
38 lines (38 loc) · 1.01 KB
/
pytest.ini
File metadata and controls
38 lines (38 loc) · 1.01 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
[tool:pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts =
--strict-markers
--strict-config
--verbose
--tb=short
--durations=10
--cov=pyheroapi
--cov-report=html:htmlcov
--cov-report=term-missing
--cov-report=xml
--cov-fail-under=80
--asyncio-mode=auto
markers =
unit: Unit tests (fast, isolated, uses mocks)
integration: Integration tests (requires API credentials)
performance: Performance and load tests
realtime: Real-time WebSocket functionality tests
slow: Tests that take more than 5 seconds
smoke: Smoke tests for basic functionality
regression: Regression tests for bug fixes
security: Security-related tests
filterwarnings =
error
ignore::UserWarning
ignore::DeprecationWarning:websockets.*
ignore::PendingDeprecationWarning
minversion = 7.0
required_plugins =
pytest-cov
pytest-mock
pytest-asyncio
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function