diff --git a/pyproject.toml b/pyproject.toml index d86f343..54757f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,4 @@ [tool.pytest.ini_options] testpaths = ["tests"] pythonpath = ["lambdas/classifier", "lambdas/slack_post", "cdk"] +addopts = "--cov=lambdas --cov-report=term-missing" diff --git a/tests/requirements.txt b/tests/requirements.txt new file mode 100644 index 0000000..9955dec --- /dev/null +++ b/tests/requirements.txt @@ -0,0 +1,2 @@ +pytest +pytest-cov