{{ s.name }}
Suite Details
General information about this test suite
Name
{{ s.name }}
Source
{% if s.custom_source %}
{{ s.custom_source }}
{% else %}
{{ s.source }}
{% endif %}
Tests (total)
{{ s.test_count }}
Tests (direct)
{{ s.tests | length }}
Documentation
{{ s.doc }}
Suite Setup & Teardown
Lifecycle keywords for this suite
{% set setup_line = [s.setup] | format_test_body | join('') if s.setup else '' %}
{% set teardown_line = [s.teardown] | format_test_body | join('') if s.teardown else '' %}
{% set code -%}
*** Settings ***
{% if s.setup %}Suite Setup {{ setup_line }}
{% endif %}{% if s.teardown %}Suite Teardown {{ teardown_line }}
{% endif %}
{%- endset %}
{{ code | highlight_robot_in_pre | safe }}
Metadata
Additional suite information
Entries
User Keywords
Defined in this suite
{% set code -%}
*** Keywords ***
{{ s.user_keywords | join('\n') }}
{%- endset %}
{{ code | highlight_robot_in_pre | safe }}
Test Case Overview
All {{ s.tests | length }} tests in this suite
{% set code -%}
*** Test Cases ***
{{ s.tests | map(attribute='name') | join('\n') }}
{%- endset %}
{{ code | highlight_robot_in_pre | safe }}
Test Case Details
Per-test documentation and steps
{% for test in s.tests %}
{%- set _test_tags = [] -%}
{%- for _t in (test.tags or []) -%}{%- if _test_tags.append((_t.name if _t is mapping else _t) | string) -%}{%- endif -%}{%- endfor -%}
{% else %}
No keywords.
{% endif %}
{% endfor %}
{{ test.name }}
Documentation
{% if test.doc %}
{{ test.doc }}
{% else %}
No documentation.
{% endif %}
Tags
{% if test.tags %}
{% for tag in test.tags %}
{% if tag is mapping %}
{{ tag.name or tag }}
{% else %}
{{ tag }}
{% endif %}
{% endfor %}
{% else %}
No tags.
{% endif %}
Body
{% if test.body or test.setup or test.teardown %}
{% set setup_line = [test.setup] | format_test_body | join('') if test.setup else '' %}
{% set teardown_line = [test.teardown] | format_test_body | join('') if test.teardown else '' %}
{% set code -%}
*** Test Cases ***
{{ test.name }}
{% if test.setup %} [Setup] {{ setup_line }}
{% endif %}{% if test.body %} {{ test.body | format_test_body | join('\n ') }}
{% endif %}{% if test.teardown %} [Teardown] {{ teardown_line }}
{% endif %}
{%- endset %}
{{ code | highlight_robot_in_pre | safe }}
Sub-Suites
Nested suite structure
{% macro render_suite_details(s2, level2) %}
{% for child in s2.suites %}
{{ render_suite_details(child, level2 + 1) }}
{% endfor %}
{% endmacro %}
{{ render_suite_details(s, 0) }}
{% if suites %}
{{ render_suite_block(suites, 0) }}
{% else %}
{% endif %}
{# /suiteContent #}
No suites available.