From 07748df7581ca5a47e5eaad88d04fba47390352b Mon Sep 17 00:00:00 2001 From: Bjoern Ludwig <bjoern.ludwig@ptb.de> Date: Sat, 21 Jan 2023 12:40:24 +0100 Subject: [PATCH] chore(pytest): introduce branch coverage to addopts in pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 04691e9..0d47e02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -86,7 +86,7 @@ jupyter-nbextensions-configurator = "^0.6.1" [tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"] -addopts = "--strict-markers --suppress-no-test-exit-code --color=yes" +addopts = "--strict-markers --suppress-no-test-exit-code --color=yes --cov-branch -v" filterwarnings = "error" markers = "webtest: mark a test as requiring internet connecttion" -- GitLab