Added support for a Custom Unity Library // Resolve #3980

This commit is contained in:
Ivan Kravets
2022-05-03 21:47:20 +03:00
parent b12d9f62b9
commit e81d83b8c2
4 changed files with 8 additions and 7 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")) == 10
assert int(junit_testsuites.get("tests")) == 11
assert int(junit_testsuites.get("errors")) == 2
assert int(junit_testsuites.get("failures")) == 1
assert len(junit_testsuites.findall("testsuite")) == 6
@@ -112,7 +112,7 @@ void my_extra_fun(void) {
# test group
test_group = test_dir / "group"
test_group.mkdir(parents=True)
(test_group / "custom_test_runner.py").write_text(
(test_group / "test_custom_runner.py").write_text(
"""
import click