{% extends "base.html" %} {% block content %}

Test Report : {{ report.title }}

{% if show_toc %}
    {% for suite in report %} {% for classname in suite.classes %}
  • {{classname}}
      {% for test in suite.classes[classname].cases %}
    • {{test.name}}{{test.display_suffix}}
    • {% endfor %}
  • {% endfor %} {% endfor %}
    {% for suite in report %} {% for classname in suite.classes %} {% for test in suite.classes[classname].cases %} {% if test.failed() %}
  • {{test.prefix()}} {{test.fullname()}}
  • {% endif %} {% endfor %} {% endfor %} {% endfor %}
{% endif %} {% for suite in report %}

Test Suite: {{ suite.name }}

{% if suite.package %} Package: {{suite.package}} {% endif %} {% if suite.properties %}

Suite Properties

{% for prop in suite.properties %} {% endfor %}
{{prop.name}}{{prop.value}}
{% endif %}

Results

Duration{{suite.duration |round(3)}} sec
Tests{{suite.all() |length}}
Failures{{suite.failed()| length}}

Tests

{% for classname in suite.classes %}

{{classname}}

{% for test in suite.classes[classname].cases %}
{% if test.failed() %} {% endif %} {% if test.skipped %} {% endif %}
Test case:{{test.name}}
Outcome:{{test.outcome().title()}}
Duration:{{test.duration|round(3)}} sec
Failed{{test.failure_msg}}
Skipped{{test.skipped_msg}}
{% if test.failed() %}
{{test.failure}}
{% endif %} {% if test.skipped %}
{{test.skipped}}
{% endif %} {% if test.properties %} {% for prop in test.properties %} {% endfor %}
{{prop.name}}{{prop.value}}
{% endif %} {% if test.stdout %}
Stdout
{{test.stdout}}
{% endif %} {% if test.stderr %}
Stderr
{{test.stderr}}
{% endif %}
{% endfor %}
{% endfor %}
{% if suite.stdout or suite.stderr %}

Suite stdout:

{{suite.stdout}}

Suite stderr:

{{suite.stderr}}
{% endif %} {% endfor %} {% endblock %}