Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5c6a4f4

Browse filesBrowse files
authored
Merge pull request #1740 from EliahKagan/summary
List all non-passing tests in test summaries
2 parents ff84a74 + 359116b commit 5c6a4f4
Copy full SHA for 5c6a4f4

File tree

1 file changed

+3
-3
lines changed
Filter options

1 file changed

+3
-3
lines changed

‎pyproject.toml

Copy file name to clipboardExpand all lines: pyproject.toml
+3-3Lines changed: 3 additions & 3 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 --disable-warnings"
6+
addopts = "--cov=git --cov-report=term --disable-warnings -ra"
77
filterwarnings = "ignore::DeprecationWarning"
88
python_files = "test_*.py"
99
tmp_path_retention_policy = "failed"
@@ -14,8 +14,8 @@ testpaths = "test" # Space separated list of paths from root e.g test tests doc
1414
# --cov-report html:path # html file at path
1515
# --maxfail # number of errors before giving up
1616
# -disable-warnings # Disable pytest warnings (not codebase warnings)
17-
# -rf # increased reporting of failures
18-
# -rE # increased reporting of errors
17+
# -rfE # default test summary: list fail and error
18+
# -ra # test summary: list all non-passing (fail, error, skip, xfail, xpass)
1919
# --ignore-glob=**/gitdb/* # ignore glob paths
2020
# filterwarnings ignore::WarningType # ignores those warnings
2121

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.