summaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-10-03 23:03:28 +0200
committerRomain Gonçalves <me@rgoncalves.se>2022-10-03 23:03:28 +0200
commita4c33c55bf122d610628b76545dc50f52d4942ce (patch)
tree29a8c8e31d75885162451aae09d8aeb25917d978 /pyproject.toml
parentdd66bf95742c98e49e664672b229e8fddbdd296d (diff)
downloadpydanclick-a4c33c55bf122d610628b76545dc50f52d4942ce.tar.gz
wip: add tests
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml18
1 files changed, 18 insertions, 0 deletions
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"
remember that computers suck.