File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1+ {% macro test_result(r) -%}
2+ passed: {{ r.passed.len() }}, ignored: {{ r.ignored.len() }}
3+ {%- endmacro %}
4+
15<li>
26<details>
37<summary>{{ name }} ({{ test_count() }} test{{ test_count() | pluralize }})</summary>
1519 {% for test in root_tests %}
1620 <li>
1721 {% if let Some(result) = test.single_test() %}
18- <b>{{ test.name }}</b> ({{ result.passed.len() }} passed, {{ result.ignored.len() }} ignored )
22+ <b>{{ test.name }}</b> ({% call test_result(result) %} )
1923 {% else %}
2024 <b>{{ test.name }}</b> ({{ test.revisions.len() }} revision{{ test.revisions.len() | pluralize }})
2125 <ul>
2226 {% for (revision, result) in test.revisions %}
23- <li>#<i>{{ revision }}</i> ({{ result.passed.len() }} passed, {{ result.ignored.len() }} ignored )</li>
27+ <li>#<i>{{ revision }}</i> ({% call test_result(result) %} )</li>
2428 {% endfor %}
2529 </ul>
2630 {% endif %}
Original file line number Diff line number Diff line change 77 <div>
88 <div class="test-count">Total tests: {{ test_count }}</div>
99 <div>
10- To find tests that haven't been executed anywhere, click on "Open all" and search for "(0 passed".
10+ To find tests that haven't been executed anywhere, click on "Open all" and search for "passed: 0 ".
1111 </div>
1212 </div>
1313 <div>
You can’t perform that action at this time.
0 commit comments