Streamline the "test" session
Rely on pyproject.toml for the `coverage` options, and shorten the comments.
This commit is contained in:
parent
e7d93a5496
commit
110c6f755b
1 changed files with 23 additions and 39 deletions
|
|
@ -451,10 +451,21 @@ ignore_missing_imports = true
|
|||
|
||||
cache_dir = ".cache/pytest"
|
||||
|
||||
addopts = "--strict-markers"
|
||||
testpaths = ["tests"]
|
||||
|
||||
# "-ra" => Summarize skipped and `xfailed tests at the end
|
||||
addopts = "-ra --strict-config --strict-markers"
|
||||
|
||||
console_output_style = "count"
|
||||
|
||||
xfail_strict = true
|
||||
|
||||
required_plugins = [
|
||||
"pytest-cov",
|
||||
"pytest-env",
|
||||
"pytest-mock",
|
||||
]
|
||||
|
||||
env = [
|
||||
"TESTING=true",
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue