[pytest] # Pytest configuration for Flight Radar Web App # Test discovery patterns python_files = test_*.py python_classes = Test* python_functions = test_* # Test directory testpaths = tests # Output options addopts = # Verbose output -v # Show summary of all test outcomes -ra # Show local variables in tracebacks --showlocals # Strict markers (fail on unknown markers) --strict-markers # Capture output (show print statements only on failure) --capture=no # Disable warnings summary --disable-warnings # Coverage options (for pytest-cov) --cov=. --cov-report=term-missing --cov-report=html --cov-config=.coveragerc # Asyncio mode asyncio_mode = auto # Markers for categorizing tests markers = unit: Unit tests (fast, isolated) integration: Integration tests (slower, multiple components) slow: Slow tests (may take several seconds) database: Tests that interact with database api: Tests for API endpoints validation: Tests for input validation error_handling: Tests for error handling rate_limit: Tests for rate limiting pagination: Tests for pagination # Ignore directories norecursedirs = .git .venv venv env __pycache__ *.egg-info dist build # Test output console_output_style = progress