{% extends "base.html" %} {% load i18n %} {% load humanize %} {% load pagination_tags %} {% block title %} {{ block.super }} | {% trans "Test Results" %} | {{ test_result }} {% endblock %} {% block breadcrumbs %}
  • {% trans "Bundle Streams" %}
  • {{ test_result.test_run.bundle.bundle_stream }}
  • {{ test_result.test_run }}
  • {{ test_result }}
  • {% endblock %} {% block sidebar %}

    {% trans "Hints" %}

    {% blocktrans %} This is all the information that launch control has about this result. Log analyzers can provide additional information by scrubbing it from the log file. Information that is global to a test run can be attached to test run attributes instead. {% endblocktrans %}

    {% if test_result.test_run.test_results.count > 1 %}

    Other results

    Results from the same test run are available here

    {% endif %} {% endblock %} {% block content %}

    {% trans "Detailed information about test result" %}

    {% trans "Launch Control has the following information about this test result" %}

    {% trans "Result ID:" %}
    {{ test_result }}
    {% trans "Test case:" %}
    {% if test_result.test_case %} {{ test_result.test_case }} {% else %} {% trans "unknown test case" %} {% endif %} {% trans "from test" %} {{ test_result.test_run.test }}
    {% trans "Test outcome:" %}
    {{ test_result.get_result_display }}
    {% trans "Measurement:" %}
    {% if test_result.measurement != None %} {{ test_result.measurement|floatformat }} {{ test_result.test_case.units }} {% else %} {% trans "no measurement taken" %} {% endif %}
    {% trans "Location in the original log file:" %}
    {% if test_result.filename %} {% if test_result.related_attachment_available %} {% with test_result.related_attachment as attachment %} {{ test_result.filename }} line {{ test_result.lineno }} {% endwith %} {% else %} {{ test_result.filename }} line {{ test_result.lineno }} {% endif %} {% else %} {% trans "information not provided" %} {% endif %}
    {% trans "Message from the log file:" %}
    {% if test_result.message %} {{ test_result.message }} {% else %} {% trans "information not provided" %} {% endif %}
    {% trans "Test started on:" %}
    {% if test_result.timestamp %} {{ test_result.timestamp|naturalday }} {{ test_result.timestamp|time }} {% else %} {% trans "information not provided" %} {% endif %}
    {% trans "Test duration:" %}
    {% if test_result.duration %} {# TODO need a filter for displaying this sensibly. Currently there are some rounding errors #} {{ test_result.duration }} {% else %} {% trans "information not provided" %} {% endif %}
    {% trans "Custom attributes (defined at test result level):" %}
    {% with test_result.attributes.values as attrs %} {% if attrs %}
    {% for item in attrs|dictsort:"name" %}
    {{ item.name|title }}
    {{ item.value }}
    {% endfor %}
    {% else %} {% trans "none specified" %} {% endif %} {% endwith %}
    {% trans "Custom attributes (defined at test run level):" %}
    {% with test_result.test_run.attributes.values as attrs %} {% if attrs %}
    {% for item in attrs|dictsort:"name" %}
    {{ item.name|title }}
    {{ item.value }}
    {% endfor %}
    {% else %} {% trans "none specified" %} {% endif %} {% endwith %}
    {% endblock %}