[tool:pytest] # Pytest configuration for LaxyFile # Test discovery testpaths = tests python_files = test_*.py *_test.py python_classes = Test* python_functions = test_* # Markers markers = unit: Unit tests integration: Integration tests e2e: End-to-end tests performance: Performance tests slow: Slow tests that take more than 1 second # Output options addopts = --strict-markers --strict-config --verbose --tb=short --durations=10 --color=yes # Async support asyncio_mode = auto # Coverage options [coverage:run] source = laxyfile omit = */tests/* */test_* */__pycache__/* */venv/* */env/* */build/* */dist/* setup.py laxyfile/__main__.py branch = True parallel = True [coverage:report] exclude_lines = pragma: no cover def __repr__ if self.debug: if settings.DEBUG raise AssertionError raise NotImplementedError if 0: if __name__ == .__main__.: class .*\bProtocol\): @(abc\.)?abstractmethod # Type checking imports if TYPE_CHECKING: show_missing = True precision = 2 skip_covered = False skip_empty = True [coverage:html] directory = htmlcov title = LaxyFile Coverage Report [coverage:xml] output = coverage.xml