Show list of failed tests in the summary // Resolve #4251

This commit is contained in:
Ivan Kravets
2022-05-03 19:30:15 +03:00
parent 0849e5faad
commit b12d9f62b9
2 changed files with 27 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ def test_calculator_example(tmp_path: Path):
# test JUnit output
junit_testsuites = ET.parse(junit_output_path).getroot()
assert int(junit_testsuites.get("tests")) == 11
assert int(junit_testsuites.get("tests")) == 10
assert int(junit_testsuites.get("errors")) == 2
assert int(junit_testsuites.get("failures")) == 1
assert len(junit_testsuites.findall("testsuite")) == 6