{% load squad %}

Test status change

The following changes were detected in the test results between builds {{notification.previous_build.version}} and {{notification.build.version}}:

{% with comparison=notification.comparison %} {% for build, environments in comparison.environments.items %} {% endfor %} {% for build, environments in comparison.environments.items %} {% for environment in environments %} {% endfor %} {% endfor %} {% for test, results in comparison.diff.items %} {% for build, environments in comparison.environments.items %} {% for environment in environments %} {% with result=results|test_result_by_build:build|test_result_by_env:environment %} {% endwith %} {% endfor %} {% endfor %} {% endfor %}
{{build.project}}, build {{build.name}}
{{environment}}
{{test}} {% if result %} {{result}} {% else %} n/a {% endif %}
{% endwith %} {% for build in notification.comparison.builds %} {% with summary=build.test_summary %}

Build {{build.version}}

{% for k, v in summary.items %} {% endfor %}
Test count
{{k|title}} {{v}}
{% endwith %} {% endfor %}