{% if stats is defined %}

Statistics

{{ stats.features[0] }}
{{ stats.scenarios[0] }}
{{ stats.steps[0] }}
{% endif %} {% if details is defined %} {% for scenario, dtls in details.iteritems()|sort %} {% endfor %}

Failed scenarios

{{ scenario }}
{% if dtls is string %} {# plain text #} {% for line in dtls.splitlines() %}

{{ line }}

{% endfor %} {% else %} {# structured report #} {% if dtls.nodeid %} Test run flags: -F '{{ dtls.nodeid }}' {% endif %} {% if dtls.steps %}
{% for step in dtls.steps %} {{ step.keyword }} {{ step.name }}

{% endfor %}
{% endif %} {% if dtls.traceback %}
{{ dtls.traceback }}
{% endif %} {% if dtls.links %} {% endif %} {% endif %}
{% else %}

Processing...

{% endif %}