{{ title }}

Start Time: {{ header_info.start_time.strftime("%Y-%m-%d %H:%M:%S") }}

Duration: {{ header_info.status.duration }}

Summary: Total: {{ header_info.status.total }}, Pass: {{ header_info.status.success }}{% if header_info.status.failure %}, Fail: {{ header_info.status.failure }}{% endif %}{% if header_info.status.error %}, Error: {{ header_info.status.error }}{% endif %}{% if header_info.status.skip %}, Skip: {{ header_info.status.skip }}{% endif %}

{%- for test_case_name, tests_results in all_results.items() %} {%- if tests_results %}
{%- for test_case in tests_results %} {%- if not test_case.subtests is defined %} {%- if (test_case.stdout or test_case.err or test_case.err) and test_case.outcome != test_case.SKIP %} {%- endif %} {%- if (test_case.stdout or test_case.err or test_case.err) and test_case.outcome == test_case.SKIP %} {%- endif %} {%- else %} {%- if test_case.subtests %} {%- endif %} {%- endif %} {%- endfor %}
{{ test_case_name }} Status
{{ test_case.test_id.split(".")[-1] }} {%- if test_case.outcome == test_case.SUCCESS -%} Pass {%- elif test_case.outcome == test_case.SKIP -%} Skip {%- elif test_case.outcome == test_case.FAILURE -%} Fail {%- else -%} Error {%- endif -%} {%- if (test_case.stdout or test_case.err) %} {%- endif %}
{%- if test_case.stdout %}

{{ test_case.stdout }}

{% endif %} {%- if test_case.err %}

{{ test_case.err[0].__name__ }}: {{ test_case.err[1] }}

{% endif %} {%- if test_case.err %}

{{ test_case.test_exception_info }}

{% endif %}
{%- if test_case.stdout %}

{{ test_case.stdout }}

{% endif %} {%- if test_case.err %}

{{ test_case.err }}

{% endif %}
{{ test_case.test_id.split(".")[-1] }} {%- if test_case.outcome == test_case.SUCCESS -%} Pass {%- else -%} Fail {%- endif -%} {%- if test_case.subtests %} {%- endif %}
{%- for subtest in test_case.subtests %} {%- if subtest.err or subtest.err %} {%- endif %} {% endfor %}
{{ subtest.test_id.split(".")[-1] }} {%- if subtest.outcome == subtest.SUCCESS -%} Pass {%- else -%} Fail {%- endif -%} {%- if subtest.err %} {%- endif %}
{%- if subtest.err %}

{{ subtest.err[0].__name__ }}: {{ subtest.err[1] }}

{% endif %} {%- if subtest.err %}

{{ subtest.test_exception_info }}

{% endif %}
Total: {{ summaries[test_case_name].total }}, Pass: {{ summaries[test_case_name].success }}{% if summaries[test_case_name].failure %}, Fail: {{ summaries[test_case_name].failure }}{% endif %}{% if summaries[test_case_name].error %}, Error: {{ summaries[test_case_name].error }}{% endif %}{% if summaries[test_case_name].skip %}, Skip: {{ summaries[test_case_name].skip }}{% endif %} -- Duration: {{ summaries[test_case_name].duration }}
{%- endif %} {%- endfor %}