Files
2026-01-24 00:25:09 +00:00

37 lines
1.0 KiB
INI

[pytest]
# Pytest configuration for email service
# Test discovery patterns
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Test paths
testpaths = tests
# Minimum Python version
minversion = 7.0
# Verbose output
addopts =
-v
--strict-markers
--tb=short
-p no:warnings
# Markers
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
auth: marks tests related to authentication
database: marks tests related to database operations
benchmark: marks tests as performance benchmarks (Phase 8)
sync: marks tests for email sync performance
search: marks tests for message search performance
api: marks tests for API response time performance
load: marks tests for load testing and concurrent users
regression: marks tests for performance regression detection
memory: marks tests for memory profiling
performance: marks all performance-related tests