mirror of
https://github.com/nomadkaraoke/karaoke-gen.git
synced 2026-11-20 13:07:57 +09:00
30 lines
577 B
TOML
30 lines
577 B
TOML
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|
|
addopts = [
|
|
"-v",
|
|
"--tb=short",
|
|
"--strict-markers",
|
|
"-ra",
|
|
]
|
|
|
|
markers = [
|
|
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
|
|
"integration: marks tests as integration tests requiring live service",
|
|
]
|
|
|
|
# Timeout for slow tests (in seconds)
|
|
timeout = 300
|
|
|
|
[tool.coverage.run]
|
|
source = ["backend"]
|
|
omit = ["*/tests/*", "*/test_*"]
|
|
|
|
[tool.coverage.report]
|
|
precision = 2
|
|
show_missing = true
|
|
skip_covered = false
|
|
|