forked from test_framework/pytest-bdd
Use dynamic context in coverage (shows what test function uses which line)
This commit is contained in:
parent
1ebbf1e5ed
commit
11e1e23e62
|
@ -67,12 +67,16 @@ exclude_lines = [
|
|||
"if TYPE_CHECKING:",
|
||||
"if typing\\.TYPE_CHECKING:",
|
||||
]
|
||||
[tool.coverage.html]
|
||||
show_contexts = true
|
||||
|
||||
[tool.coverage.run]
|
||||
branch = true
|
||||
include =[
|
||||
"src/pytest_bdd/*",
|
||||
"tests/*",
|
||||
]
|
||||
dynamic_context = "test_function"
|
||||
|
||||
|
||||
[tool.mypy]
|
||||
|
|
Loading…
Reference in New Issue