{% if tc_record.parameters %}
Parameters:
{{ gen_parameters(tc_record.parameters) }}
{% endif %}
{% if tc_record.checkpoints %}
{{ gen_checkpoints(tc_record.checkpoints) }}
{% endif %}
{% if tc_record.status == tc_record.Status.SKIPPED %}
Reason:
{{ tc_record.error }}
{% elif tc_record.error %}
Exception:
{{ gen_stacktrace(tc_record.error.traceback) }}
{% endif %}
{% if tc_record.rerun_causes %}
{{ gen_rerun_causes(tc_record.rerun_causes) }}
{% endif %}
{% if tc_record.log_names %}
{{ gen_log_names(tc_record.log_names) }}
{% endif %}
{%- endmacro %}
{% block head %}
{% block overview %}
Overview
Show Chart
|
{% if _chart_position_ == "head" %}
|
{% endif %}
TestSuite |
Count |
NotRun |
Passed |
Warning |
Skipped |
Failed |
Erroneous |
Pass Rate |
{% set totals = {"notrun":0, "passed": 0, "warning":0, "skipped": 0, "failed": 0, "erroneous": 0, "total": 0} %}
{% for ts_record in ts_records %}
{% set statistics = ts_record.statistics() %}
{% for key in totals.keys() %}
{% set _dummy = totals.update({key: totals[key]+statistics.get(key, 0)}) %}
{% endfor %}
{{ts_record.name}}
|
{{statistics.get("total", 0)}}
|
{{statistics.get("notrun", 0)}}
|
{{statistics.get("passed", 0)}}
|
{{statistics.get("warning", 0)}}
|
{{statistics.get("skipped", 0)}}
|
{{statistics.get("failed", 0)}}
|
{{statistics.get("erroneous", 0)}}
|
{{'%.2f' | format(statistics.passed/statistics.total*100)}}% |
{% endfor %}
Total |
{{totals["total"]}}
|
{{totals["notrun"]}}
|
{{totals["passed"]}}
|
{{totals["warning"]}}
|
{{totals["skipped"]}}
|
{{totals["failed"]}}
|
{{totals["erroneous"]}}
|
{% if totals["total"] != 0 %}
{{'%.2f' | format(totals["passed"]/totals["total"]*100)}}% |
{% else %}
0% |
{% endif %}
{% if _chart_position_ == "foot" %}
|
{% endif %}
{% endblock %}
{% block testsuites %}
{% endblock %}