We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6a3df8 commit 0cdee77Copy full SHA for 0cdee77
pyproject.toml
@@ -31,13 +31,18 @@ filterwarnings = [
31
testpaths = ["tests", "patterns"]
32
python_files = ["test_*.py", "*_test.py"]
33
# Enable doctest discovery in patterns directory
34
-addopts = "--doctest-modules --randomly-seed=1234"
+addopts = "--doctest-modules --randomly-seed=1234 --cov=patterns --cov-report=term-missing"
35
doctest_optionflags = ["ELLIPSIS", "NORMALIZE_WHITESPACE"]
36
log_level = "INFO"
37
38
[tool.coverage.run]
39
branch = true
40
source = ["patterns"]
41
+# Ensure coverage data is collected properly
42
+relative_files = true
43
+parallel = true
44
+dynamic_context = "test_function"
45
+data_file = ".coverage"
46
47
[tool.coverage.report]
48
# Regexes for lines to exclude from consideration
0 commit comments