suna/backend/pytest.ini

28 lines
740 B
INI

[tool:pytest]
testpaths = tests
python_files = test_*.py *.test.py
python_classes = Test*
python_functions = test_*
addopts =
-v
--tb=short
--strict-markers
--disable-warnings
--cov=core
--cov=billing
--cov-report=term-missing
--cov-report=html
--cov-report=xml
--cov-fail-under=60
markers =
unit: Unit tests (fast, no external dependencies)
integration: Integration tests (may require database/external services)
slow: Slow tests
api: API endpoint tests
llm: LLM integration tests (requires API keys)
asyncio: Async tests
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning