Skip to content

Commit aa9cb70

Browse files
committed
Print number of root tests and subdirectories
1 parent d2c1763 commit aa9cb70

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/ci/citool/templates/test_group.askama

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ passed: {{ r.passed.len() }}, ignored: {{ r.ignored.len() }}
44

55
<li>
66
<details>
7-
<summary>{{ name }} ({{ test_count() }} test{{ test_count() | pluralize }})</summary>
7+
<summary>{{ name }} ({{ test_count() }} test{{ test_count() | pluralize }}{% if !root_tests.is_empty() && root_tests.len() as u64 != test_count() -%}
8+
, {{ root_tests.len() }} root test{{ root_tests.len() | pluralize }}
9+
{%- endif %}{% if !groups.is_empty() -%}
10+
, {{ groups.len() }} subdir{{ groups.len() | pluralize }}
11+
{%- endif %})
12+
</summary>
813

914
{% if !groups.is_empty() %}
1015
<ul>

0 commit comments

Comments
 (0)