|
1 | | -Testcase occurrences inside scope versions are marked |
2 | | -"X" for required testcases (target _main_) and |
3 | | -"(x)" for recommended testcases (with the specific target in the tooltip). |
4 | | - |
5 | 1 | Version numbers are suffixed by a symbol depending on state: |
6 | 2 | \* for _draft_, † for _warn_ (soon to be deprecated), and †† for _deprecated_. |
7 | 3 |
|
@@ -29,29 +25,22 @@ No recent test results available. |
29 | 25 |
|
30 | 26 | {% else %} |
31 | 27 |
|
32 | | -{% for cat, val in (('FAILED', -1), ('Aborted', 0), ('Missing', None), ('Passed', 1)) -%} |
33 | | -{% set bucket = scope_result.buckets[val] -%} |
34 | | -{% if bucket -%} |
35 | | -### {{cat}} testcases |
36 | | - |
37 | | -{% if val == -1 %}Note: recommended testcases (marked "(x)") do not count into the |
38 | | -overall result of a version.{% endif %} |
| 28 | +The columns labeled _(rec)_ contain recommended testcases for the scope version named in the preceding column header. |
39 | 29 |
|
40 | | -| testcase id |{% if val is not none %} reported on |{% endif %}{% for version in scope_result.relevant %} {{ version }}{{ scope_result.versions[version].validity | validity_symbol }} |{% endfor %} description | |
41 | | -|---|{% if val is not none %}---|{% endif %}{% for version in scope_result.relevant %}---|{% endfor %}---| |
| 30 | +| testcase id | result |{% for version in scope_result.relevant %} {{ version }}{{ scope_result.versions[version].validity | validity_symbol }} | (rec) |{% endfor %} description | |
| 31 | +|---|---|{% for version in scope_result.relevant %}---|---|{% endfor %}---| |
| 32 | +{% for cat, val in (('FAILED', -1), ('MISSING', None), ('inconclusive', 0), ('passed', 1)) -%} |
| 33 | +{% set bucket = scope_result.buckets[val] -%} |
42 | 34 | {% for testcase_id in bucket -%} |
43 | 35 | {% set testcase = scope_result.testcases[testcase_id] -%} |
44 | 36 | {% set res = scope_result.results[testcase_id] if testcase_id in scope_result.results else dict(result=0) -%} |
45 | 37 | | [{{ testcase_id }}]({{ testcase.url }}) {# -#} |
46 | | -{%- if val is not none -%} |
47 | | -| {% if res.report %}[{{ res.checked_at | short_isodate }}]({{ report_url(res.report, version, testcase_id) }}) { title="{{ res.report }} {{ res.checked_at }}" }{% endif %} {# -#} |
48 | | -{%- endif %}{# val is not none -#} |
| 38 | +| {{cat}}{% if res.report %} ([{{ res.checked_at | short_isodate }}]({{ report_url(res.report, version, testcase_id) }})) { title="{{ res.report }} {{ res.checked_at }}" }{% endif %} {# -#} |
49 | 39 | {% for version in scope_result.relevant %}| {% |
50 | 40 | set tgt = scope_result.versions[version].tc_target[testcase_id] |
51 | | -%}{% if tgt == 'main' %}X { title="main" }{% elif tgt %}(x) { title="{{ tgt }}" }{% endif %} {% endfor -%} |
| 41 | +%}{% if tgt == 'main' %}X { title="main" }{% endif %} | {% if tgt and tgt != 'main' %}x { title="{{ tgt }}" }{% endif %} {% endfor -%} |
52 | 42 | | {{ testcase.description | trim }} | |
53 | | -{% endfor %}{# testcase #} |
54 | | -{% endif %}{# bucket nonempty -#} |
| 43 | +{% endfor %}{# testcase -#} |
55 | 44 | {% endfor %}{# categories #} |
56 | 45 |
|
57 | 46 | {% endif %}{# results available -#} |
|
0 commit comments