ci: configure pytest (#24)

This commit is contained in:
Eugene Yurtsev
2025-04-05 13:52:21 -04:00
committed by GitHub
parent 3f859a3fc9
commit c9b45f098b
2 changed files with 16 additions and 1 deletions

View File

@@ -32,3 +32,18 @@ test = [
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
minversion = "8.0"
# -ra: Report all extra test outcomes (passed, skipped, failed, etc.)
# -q: Enable quiet mode for less cluttered output
# -v: Enable verbose output to display detailed test names and statuses
# --durations=5: Show the 10 slowest tests after the run (useful for performance tuning)
addopts = "-ra -q -v --durations=5"
testpaths = [
"tests",
]
python_files = ["test_*.py"]
python_functions = ["test_*"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"

2
uv.lock generated
View File

@@ -259,7 +259,7 @@ cli = [
[[package]]
name = "mcpdoc"
version = "0.0.6"
version = "0.0.8"
source = { editable = "." }
dependencies = [
{ name = "httpx" },