forked from Crosstalk-Solutions/unifi-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
49 lines (41 loc) · 1.26 KB
/
Copy pathpytest.ini
File metadata and controls
49 lines (41 loc) · 1.26 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
46
47
48
49
[pytest]
# Pytest configuration for UI Toolkit
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Minimum Python version
minversion = 8.0
# Directories to search for tests
testpaths = tests
# Additional options
addopts =
# Show verbose output
-v
# Show test durations (slowest 10)
--durations=10
# Show local variables in tracebacks
-l
# Show warnings summary
-ra
# Don't capture output (useful for debugging)
# -s
# Markers for categorizing tests
markers =
unit: Unit tests (fast, no external dependencies)
integration: Integration tests (may require database/network)
slow: Slow tests that take significant time
auth: Authentication-related tests
cache: Caching system tests
crypto: Encryption and security tests
config: Configuration management tests
# Asyncio mode (for async tests)
asyncio_mode = auto
# Coverage options (if using pytest-cov)
# Uncomment to enable coverage reporting
# addopts = --cov=app --cov=shared --cov=tools --cov-report=html --cov-report=term
# Ignore certain warnings
filterwarnings =
# Ignore specific deprecation warnings
ignore::DeprecationWarning:pydantic._internal._config
ignore::DeprecationWarning:app.routers.auth