Skip to content

Commit 2bb0791

Browse files
authored
Merge pull request #2203 from raisulchowdhury/codex-1891-pytest-summary
test: focus pytest summary on unexpected failures
2 parents 6e61b1d + 1d246f0 commit 2bb0791

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["setuptools"]
33
build-backend = "setuptools.build_meta"
44

55
[tool.pytest.ini_options]
6-
addopts = "--cov=git --cov-report=term -ra"
6+
addopts = "--cov=git --cov-report=term -rfEX"
77
filterwarnings = "ignore::DeprecationWarning"
88
python_files = "test_*.py"
99
tmp_path_retention_policy = "failed"
@@ -13,7 +13,7 @@ testpaths = "test" # Space separated list of paths from root e.g test tests doc
1313
# --cov-report term-missing # to terminal with line numbers
1414
# --cov-report html:path # html file at path
1515
# --maxfail # number of errors before giving up
16-
# -rfE # default test summary: list fail and error
16+
# -rfEX # test summary: list failures, errors, and unexpected passes; omit expected failures
1717
# -ra # test summary: list all non-passing (fail, error, skip, xfail, xpass)
1818
# --ignore-glob=**/gitdb/* # ignore glob paths
1919
# filterwarnings ignore::WarningType # ignores those warnings

0 commit comments

Comments
 (0)