Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
test: focus pytest summary on unexpected failures
Use pytest's failure and error summary modes so expected-failure details do not obscure unexpected failures while retaining aggregate counts.

Assisted-by: OpenAI Codex
Signed-off-by: raisulchowdhury <34920788+raisulchowdhury@users.noreply.github.com>
  • Loading branch information
raisulchowdhury committed Aug 1, 2026
commit 96cbede92eb8ba0661774874766c2e9a382cb1b8
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
addopts = "--cov=git --cov-report=term -ra"
addopts = "--cov=git --cov-report=term -rfE"
Comment thread
Byron marked this conversation as resolved.
Outdated
filterwarnings = "ignore::DeprecationWarning"
python_files = "test_*.py"
tmp_path_retention_policy = "failed"
Expand All @@ -13,7 +13,7 @@ testpaths = "test" # Space separated list of paths from root e.g test tests doc
# --cov-report term-missing # to terminal with line numbers
# --cov-report html:path # html file at path
# --maxfail # number of errors before giving up
# -rfE # default test summary: list fail and error
# -rfE # test summary: list failures and errors, omitting expected failures
Comment thread
Byron marked this conversation as resolved.
Outdated
# -ra # test summary: list all non-passing (fail, error, skip, xfail, xpass)
# --ignore-glob=**/gitdb/* # ignore glob paths
# filterwarnings ignore::WarningType # ignores those warnings
Expand Down
Loading