From 47959afd08cded92d2385f5ebd6294af0eeb420f Mon Sep 17 00:00:00 2001 From: Yufeng Xin Date: Fri, 25 Oct 2024 00:06:49 -0400 Subject: [PATCH] pytest-cov --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b3d9cb3e..7148508d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,9 @@ Issues = "https://github.com/atlanticwave-sdx/pce/issues" [project.optional-dependencies] test = [ - "pytest-cov == 3.0.0", + "pytest == 8.0.1", + "pytest-cov == 4.1.0", + "pytest-sugar == 1.0.0", ] pygraphviz = [ "pygraphviz" @@ -53,7 +55,7 @@ lint = [ where = "src" [tool.pytest.ini_options] -addopts = "-v --cov=sdx_pce --cov-report html --cov-report term-missing:skip-covered" +addopts = "--cov=sdx_pce --cov-report html --cov-report lcov --cov-report term-missing:skip-covered" testpaths = [ "tests" ]