{% macro gen_stacktrace(error) -%}
{{ error }}
{%- endmacro %} {% macro gen_parameters(parameters) -%} {% for k, v in parameters.items() %} {% endfor %}
Name Value
{{ k }} {{ v }}
{%- endmacro %} {% macro gen_checkpoints(checkpoints) -%} {% block checkpoints scoped %}
Checkpoints:
{% endblock %} {%- endmacro %} {% macro gen_rerun_causes(rerun_causes) -%}
Rerun Causes:
    {% for cause in rerun_causes %}
  1. {{ gen_stacktrace(cause) }}
  2. {% endfor %}
{%- endmacro %} {% macro gen_log_names(log_names) -%}
Logs:
{%- endmacro %} {% macro gen_result(tc_record) -%}
{{tc_record.get_status_name()}}
{%- endmacro %} {% block head %} {{ title or "Test Report" }} {% endblock %} {% set ts_records = _result_.ts_records.expand() %}
{% block overview %} {% if _chart_position_ == "head" %} {% endif %} {% 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 %} {% endfor %} {% if totals["total"] != 0 %} {% else %} {% endif %} {% if _chart_position_ == "foot" %} {% endif %}
Overview Show Chart
TestSuite Count NotRun Passed Warning Skipped Failed Erroneous Pass Rate
{{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)}}%
Total {{totals["total"]}} {{totals["notrun"]}} {{totals["passed"]}} {{totals["warning"]}} {{totals["skipped"]}} {{totals["failed"]}} {{totals["erroneous"]}} {{'%.2f' | format(totals["passed"]/totals["total"]*100)}}%0%
{% endblock %} {% block testsuites %}
{% block testsuite_columns %}
Columns: No. Title Path Is Prerequisite Start Time Finish Time Duration Result
{% endblock %}
Show: All Pass Warn Fail Skip Error NotRun | Expand All | Parameters
{% for ts_record in ts_records %} {% block testsuite scoped %} {% block testsuite_table_name %} {% endblock %} {% block testsuite_table_head %} {% endblock %} {% block testsuite_table_data scoped %} {% for tc_record in ts_record.records %} {% endfor %} {% endblock %}
TestSuite: {{ ts_record.name }} Expand
No. Title Duration Result
{{ loop.index }} {{ tc_record.name }} {{ '%.3f' | format(tc_record.duration) if tc_record.duration != None }} {{ gen_result(tc_record) }}
{% endblock %} {% endfor %}
{% endblock %}