Files
FastAnime/pytest.ini
2025-07-15 22:53:10 +03:00

48 lines
845 B
INI

[tool.pytest.ini_options]
minversion = "6.0"
addopts = [
"-ra",
"--strict-markers",
"--strict-config",
"--cov=fastanime.cli.interactive",
"--cov-report=term-missing",
"--cov-report=html:htmlcov",
"--cov-report=xml",
"-v"
]
testpaths = [
"tests",
]
python_files = [
"test_*.py",
"*_test.py",
]
python_classes = [
"Test*",
]
python_functions = [
"test_*",
]
markers = [
"unit: Unit tests",
"integration: Integration tests",
"slow: Slow running tests",
"network: Tests requiring network access",
"auth: Tests requiring authentication",
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
]
# Test discovery patterns
collect_ignore = [
"setup.py",
]
# Pytest plugins
required_plugins = [
"pytest-cov",
"pytest-mock",
]