28 lines
685 B
INI
28 lines
685 B
INI
[pytest]
|
|
# Pytest configuration for PIF Compiler
|
|
|
|
# Test discovery
|
|
testpaths = tests
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
|
|
# Output options
|
|
addopts =
|
|
-v
|
|
--strict-markers
|
|
--tb=short
|
|
--disable-warnings
|
|
|
|
# Markers for different test types
|
|
markers =
|
|
unit: Unit tests (fast, no external dependencies)
|
|
integration: Integration tests (may hit real APIs)
|
|
slow: Slow tests (skip by default)
|
|
database: Tests requiring MongoDB
|
|
|
|
# Coverage options (if pytest-cov is installed)
|
|
# addopts = --cov=src/pif_compiler --cov-report=html --cov-report=term
|
|
|
|
# Ignore patterns
|
|
norecursedirs = .git .venv __pycache__ *.egg-info dist build
|