{% extends "projects/base.html" %} {% import "site_shell/_macros.html" as ui %} {% import "projects/builds/_build_macros.html" as bm %} {% block title %}{{ spec.name }} - Test Spec - {{ project.name }} - Pychestrate{% endblock %} {% block content %}
Framework
{{ spec.framework | state_words }}
Version
v{{ spec.version }}
Timeout
{{ spec.timeout_minutes }} minutes
Result Format
{{ spec.result_format | state_words }}

Specification Details

Test Command {{ spec.test_command }}
Test Selection {{ spec.test_selection or 'all tests' }}
Build Reference {% if spec.build_ref %}Build specification #{{ spec.build_ref }}{% else %}none{% endif %}
Infrastructure Reference {% if spec.infra_ref %}Infrastructure specification #{{ spec.infra_ref }}{% else %}none{% endif %}
Environment {% if spec.environment %}{% for key, value in spec.environment.items() %}{{ key }}={{ value }}
{% endfor %}{% else %}none{% endif %}
Created {{ spec.created_at | format_datetime('%Y-%m-%d %H:%M:%S') }}
Updated {{ spec.updated_at | format_datetime('%Y-%m-%d %H:%M:%S') }}

Recent Jobs View all

{% if recent_jobs %}
{% for job in recent_jobs %} {% endfor %}
Job Status Passed Failed Started
#{{ job.id }} {{ bm.build_status(job.status) }} {{ job.result_summary.passed if job.result_summary else '-' }} {{ job.result_summary.failed if job.result_summary else '-' }} {{ bm.build_started(job) }}
{% else %} {{ ui.empty_state("No jobs yet") }} {% endif %}
{% endblock %}