BDD Test Execution Log

{{ summary.passed }}
Passed
{{ summary.failed }}
Failed
{{ "%.2f"|format(session.duration) }}s
Duration
{% for feature in features %}
{{ feature.name }}
{{ feature.passed }} passed {{ feature.failed }} failed {{ feature.skipped }} skipped
{% for scenario in feature.scenarios %}
{% if scenario.status == 'passed' %}✓{% elif scenario.status == 'failed' %}✗{% else %}○{% endif %} {{ scenario.name }}
{{ "%.3f"|format(scenario.duration) }}s {{ scenario.start_time|timestamp_to_time }}
Status
{{ scenario.status|title }}
Duration
{{ "%.3f"|format(scenario.duration) }} seconds
Start Time
{{ scenario.start_time|timestamp_to_datetime }}
End Time
{{ scenario.end_time|timestamp_to_datetime }}
{% if scenario.logs %}
Test Execution Log ({{ scenario.logs|length }} entries)
{% for log in scenario.logs %} {% if log.strip() %} {% set log_parts = log.split(' - ') %}
{{ log_parts[0] if log_parts|length > 0 else '' }}
{{ 'ERROR' if 'ERROR' in log else 'WARN' if 'WARNING' in log else 'INFO' if 'INFO' in log else 'DEBUG' }}
{{ log_parts[-1] if log_parts|length > 0 else log }}
{% endif %} {% endfor %}
{% endif %} {% if scenario.stdout %}
Standard Output
{{ scenario.stdout }}
{% endif %} {% if scenario.stderr %}
Standard Error
{{ scenario.stderr }}
{% endif %} {% if scenario.error %}
Error Details
{{ scenario.error }}
{% if scenario.traceback %}
{{ scenario.traceback }}
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
Execution Timeline
{% for feature in features %} {% for scenario in feature.scenarios %}
{{ scenario.name }}
{{ "%.3f"|format(scenario.duration) }}s
{% endfor %} {% endfor %}