From a4c33c55bf122d610628b76545dc50f52d4942ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Mon, 3 Oct 2022 23:03:28 +0200 Subject: wip: add tests --- pyproject.toml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 265f392..60d8039 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,10 +21,28 @@ isort = "^5.10.1" [tool.poetry.group.dev.dependencies] mypy = "^0.981" +pytest = "^7.1.3" +pytest-cov = "^4.0.0" +coverage = "^6.5.0" [tool.mypy] plugins = "pydantic.mypy" +[tool.pytest.ini_options] +minversion = "6.0" +addopts = "--doctest-modules --cov -ra -q" + +[tool.coverage.paths] +source = ["pydanclick"] + +[tool.coverage.run] +branch = true +source = ["pydanclick"] + +[tool.coverage.report] +show_missing = true +fail_under = 100 + [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" -- cgit v1.2.3