{{ feature.name }}
{% if feature.description %}
{{ feature.description }}
{% endif %} {% if feature.tags %}
{% for tag in feature.tags %}
@{{ tag }}
{% endfor %}
{% endif %}
File: {{ feature.file_path.name }}
Generated: {{ generated_date }}
{% if total_scenarios is defined %}
Scenarios: {{ total_scenarios }}
{% endif %}
{% if feature.custom_blocks %}
{% for block in feature.custom_blocks %}
{{ block.keyword }}
{% if block.value %}
{{ block.value }}
{% endif %} {% if block.items %}
{% for item in block.items %}
{{ item }}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% if feature.background %}
Background
{% for step in feature.background %}
{{ step.keyword }}
{{ step.text | highlight_values }}
{% endfor %}
{% endif %} {% for scenario in feature.scenarios %}
{% if scenario.is_outline %}Scenario Outline{% else %}Scenario{% endif %} {{ loop.index }} of {{ feature.scenarios | length }}
{{ scenario.name }}
{% if scenario.description %}
{{ scenario.description }}
{% endif %} {% if scenario.tags %}
{% for tag in scenario.tags %}
@{{ tag }}
{% endfor %}
{% endif %}
{% if scenario.steps %} {% set sc_state = run_state.get(loop.index0 | string, {}) %}
{% for step in scenario.steps %} {% set step_checked = sc_state.get('steps', {}).get(loop.index0 | string, false) %}
{{ step.keyword }}
{{ step.text | highlight_values }}
{% endfor %}
{% if sc_state.get('result') or sc_state.get('notes') %}
{% if sc_state.get('result') %}
{{ sc_state.result | upper }}
{% endif %} {% if sc_state.get('notes') %}
Notes:
{{ sc_state.notes }}
{% endif %}
{% endif %} {% endif %} {% if scenario.examples %} {% for ex in scenario.examples %}
Examples{% if ex.name %}: {{ ex.name }}{% endif %}
{% for col in ex.columns %}
{{ col }}
{% endfor %}
{% for row in ex.rows %}
{% for cell in row %}
{{ cell }}
{% endfor %}
{% endfor %}
{% endfor %} {% endif %} {% if scenario.custom_blocks %}
{% for block in scenario.custom_blocks %}
{{ block.keyword }}
{% if block.value %}
{{ block.value }}
{% endif %} {% if block.items %}
{% for item in block.items %}
{{ item }}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}