Print number of root tests and subdirectories
This commit is contained in:
parent
d2c1763336
commit
aa9cb70190
1 changed files with 6 additions and 1 deletions
|
@ -4,7 +4,12 @@ passed: {{ r.passed.len() }}, ignored: {{ r.ignored.len() }}
|
|||
|
||||
<li>
|
||||
<details>
|
||||
<summary>{{ name }} ({{ test_count() }} test{{ test_count() | pluralize }})</summary>
|
||||
<summary>{{ name }} ({{ test_count() }} test{{ test_count() | pluralize }}{% if !root_tests.is_empty() && root_tests.len() as u64 != test_count() -%}
|
||||
, {{ root_tests.len() }} root test{{ root_tests.len() | pluralize }}
|
||||
{%- endif %}{% if !groups.is_empty() -%}
|
||||
, {{ groups.len() }} subdir{{ groups.len() | pluralize }}
|
||||
{%- endif %})
|
||||
</summary>
|
||||
|
||||
{% if !groups.is_empty() %}
|
||||
<ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue