| [pytest] | |
| # SPARKNET Test Configuration | |
| # Following FAANG best practices for test infrastructure | |
| testpaths = tests | |
| python_files = test_*.py | |
| python_classes = Test* | |
| python_functions = test_* | |
| # Async mode | |
| asyncio_mode = auto | |
| # Output options | |
| addopts = | |
| -v | |
| --tb=short | |
| --strict-markers | |
| -ra | |
| # Markers | |
| markers = | |
| slow: marks tests as slow (deselect with '-m "not slow"') | |
| integration: marks tests as integration tests | |
| gpu: marks tests as requiring GPU | |
| ollama: marks tests as requiring Ollama server | |
| # Ignore patterns | |
| norecursedirs = | |
| .git | |
| .tox | |
| .eggs | |
| *.egg-info | |
| build | |
| dist | |
| sparknet | |
| frontend | |
| node_modules | |
| # Coverage settings | |
| [coverage:run] | |
| source = src | |
| omit = | |
| */tests/* | |
| */__pycache__/* | |
| */conftest.py | |
| [coverage:report] | |
| exclude_lines = | |
| pragma: no cover | |
| def __repr__ | |
| raise NotImplementedError | |
| if __name__ == .__main__.: | |