[pytest] asyncio_mode = auto asyncio_default_fixture_loop_scope = function testpaths = tests python_files = test_*.py python_classes = Test* python_functions = test_* addopts = -v --tb=short --strict-markers --disable-warnings markers = asyncio: marks tests as async (deselect with '-m "not asyncio"') integration: marks tests as integration tests requiring real database (deselect with '-m "not integration"') e2e: marks tests as end-to-end tests covering complete workflows (deselect with '-m "not e2e"') realdb: marks tests as real database tests requiring actual database connections (deselect with '-m "not realdb"') unit: marks tests as unit tests using mocks (default) # Test configuration # To run unit tests only: pytest -m "not integration and not e2e and not realdb" # To run integration tests: pytest -m integration # To run e2e tests: pytest -m e2e # To run real database tests: pytest -m realdb # To run all tests: pytest