{% for run in runs %}
{% if run.status.value == 'running' %} {% elif run.status.value == 'passed' %} {% elif run.status.value == 'failed' %} {% else %}{% endif %}

Test Run #{{ run.id }}

{{ run.created_at.strftime('%b %d, %Y %H:%M') }}

{% if run.total > 0 %}

{{ run.passed }}/{{ run.total }}

passed

{% endif %}
{% if run.test_code %} {% endif %} {% if run.output %} {% endif %}
{% if run.results %}
{% for result in run.results %}
{{ result.name }} {{ result.duration }}s
{% if result.message %}
{{ result.message[:500] }}
{% endif %} {% endfor %}
{% elif run.status.value not in ('running', 'pending') %}

No individual test results recorded.

{% endif %} {% if run.test_code %}

test_mcp_server.py

{{ run.test_code | e }}
{% endif %} {% if run.output %}

pytest output

{{ run.output | e }}
{% endif %}
{% else %}

No test runs yet. Click "Run Tests" to start.

{% endfor %}