-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
47 lines (40 loc) · 970 Bytes
/
pytest.ini
File metadata and controls
47 lines (40 loc) · 970 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
40
41
42
43
44
45
46
47
[pytest]
# pytest configuration for Multi-Tenant API Assessment
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-v
--strict-markers
--tb=short
-p no:warnings
# Test paths
testpaths = py_tests
# Async configuration
asyncio_mode = auto
# Markers for test categorization
markers =
asyncio: Async operation tests
auth: Authentication and authorization tests
tenant_isolation: Multi-tenant isolation and security tests
users: User management tests
files: File upload/download tests
rate_limit: Rate limiting tests
pagination: Pagination tests
integration: End-to-end integration tests
slow: Slow-running tests
unit: Unit tests
smoke: Quick smoke tests
# Coverage options
[coverage:run]
source = app
omit =
*/py_tests/*
*/venv/*
*/__pycache__/*
[coverage:report]
show_missing = True
skip_covered = False
precision = 2