[pytest] # NordaBiz Test Configuration # ============================ # Test discovery testpaths = tests python_files = test_*.py python_classes = Test* python_functions = test_* # Coverage settings (start with 10%, increase over time) addopts = -v --tb=short --cov=. --cov-report=html:tests/coverage_html --cov-report=term-missing --cov-fail-under=10 # Ignore patterns norecursedirs = .git venv __pycache__ .auto-claude node_modules # Markers for test categories markers = unit: Unit tests (fast, no external dependencies) integration: Integration tests (requires database) e2e: End-to-end tests (requires staging/production) smoke: Smoke tests (quick production health checks) security: Security tests (OWASP Top 10) migration: Database migration tests dr: Disaster recovery tests slow: Tests that take more than 5 seconds # Logging log_cli = true log_cli_level = INFO # Timeout for tests (seconds) timeout = 30 # Filter warnings filterwarnings = ignore::DeprecationWarning ignore::PendingDeprecationWarning