mirror of
https://github.com/langchain-ai/mcpdoc.git
synced 2025-10-19 03:18:14 +03:00
ci: configure pytest (#24)
This commit is contained in:
@@ -32,3 +32,18 @@ test = [
|
|||||||
requires = ["hatchling"]
|
requires = ["hatchling"]
|
||||||
build-backend = "hatchling.build"
|
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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user