From 9c481d6e7e818996a00ff0a8c3f68186213887a8 Mon Sep 17 00:00:00 2001 From: codejedi365 Date: Sun, 28 Apr 2024 01:33:14 -0400 Subject: [PATCH] test(conf): adjust pytest automatic configuration --- pyproject.toml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7111f9a89..2c8f813fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -83,18 +83,21 @@ env = [ "PYTHONHASHSEED = 123456" ] addopts = [ + # TO DEBUG in single process, swap auto to 0 "-nauto", + # "-n0", "-ra", "--diff-symbols", "--cache-clear", - "--cov=semantic_release", - "--cov-context=test", - "--cov-report", - "html:coverage-html", - "--cov-report", - "term", + # No default coverage - causes problems with debuggers + # "--cov=semantic_release", + # "--cov-context=test", + # "--cov-report=html:coverage-html", + # "--cov-report=term-missing", +] +testpaths = [ + "tests" ] -python_files = ["tests/test_*.py", "tests/**/test_*.py"] [tool.coverage.html] show_contexts = true