-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
42 lines (36 loc) · 1.05 KB
/
pytest.ini
File metadata and controls
42 lines (36 loc) · 1.05 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
[pytest]
# Test discovery
# tests/ - e2e tests only (cross-package)
# packages/*/tests/ - unit and integration tests per package
testpaths =
tests
packages/myfy-core/tests
packages/myfy-web/tests
packages/myfy-cli/tests
packages/myfy-commands/tests
packages/myfy-frontend/tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Async configuration
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
# Parallel execution settings (for pytest-xdist)
# Run with: pytest -n auto
addopts = -v --tb=short
# Markers
markers =
unit: Unit tests for isolated logic and edge cases
integration: Integration tests for module interactions
e2e: End-to-end tests for full application workflows
slow: Tests that take longer to execute
# Logging
log_cli = false
log_cli_level = WARNING
# Coverage (if pytest-cov is installed)
# Run with: pytest --cov=myfy --cov-report=html
# Strict mode - fail on warnings
filterwarnings =
error
ignore::DeprecationWarning
ignore::PendingDeprecationWarning