{% 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 %}
{{ spec.description or 'Test specification' }}
| 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') }} |
| 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) }} |