From 94d0ea3c76841b0f68ccbf9351b7dca3db3352d7 Mon Sep 17 00:00:00 2001 From: Juha Sippola Date: Wed, 5 Aug 2015 10:22:35 +0300 Subject: Qt Metrics 2 (v0.14): Testset flag identification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added testset flag column for the latest build of each configuration. Added links to configuration pages. Change-Id: Id924a5b2ae567a18f24c531856af71a6fb91ff80 Reviewed-by: Tony Sarajärvi --- non-puppet/qtmetrics2/templates/about.html | 6 ++-- non-puppet/qtmetrics2/templates/testset.html | 48 ++++++++++++++++++---------- 2 files changed, 35 insertions(+), 19 deletions(-) (limited to 'non-puppet/qtmetrics2/templates') diff --git a/non-puppet/qtmetrics2/templates/about.html b/non-puppet/qtmetrics2/templates/about.html index 4ec8095..ba94613 100644 --- a/non-puppet/qtmetrics2/templates/about.html +++ b/non-puppet/qtmetrics2/templates/about.html @@ -34,8 +34,8 @@ /** * About window content - * @version 0.13 - * @since 21-07-2015 + * @version 0.14 + * @since 22-07-2015 * @author Juha Sippola */ @@ -44,4 +44,4 @@

This is Qt Metrics revision 2 with redesigned UI and database.

These pages are still under construction and therefore the views and functionality is limited.

See the backlog for development items currently identified or in progress.

-

Version 0.13 (21-Jul-2015)

+

Version 0.14 (22-Jul-2015)

diff --git a/non-puppet/qtmetrics2/templates/testset.html b/non-puppet/qtmetrics2/templates/testset.html index 8dd02fa..aa81fbf 100644 --- a/non-puppet/qtmetrics2/templates/testset.html +++ b/non-puppet/qtmetrics2/templates/testset.html @@ -34,8 +34,8 @@ /** * Testset page - * @version 0.7 - * @since 10-07-2015 + * @version 0.8 + * @since 22-07-2015 * @author Juha Sippola */ @@ -92,21 +92,29 @@
Testset
    -
  • latest result shows the overall testset status based on the latest -{{ masterProject }} {{ masterState }} builds across all branches -(shows failed if failed in one or in several).
  • -
  • failed count shows the number of {{ masterProject }} {{ masterState }} +
  • Latest Status shows the overall testset status across all branches +
      +
    • latest result: overall testset status based on the latest +{{ masterProject }} {{ masterState }} builds +(shows failed if failed in one or in several)
    • +
    • failed: number of {{ masterProject }} {{ masterState }} builds where {{ testset.getName }} failed during the last {{ lastDaysFailures }} days -(since {{ sinceDateFailures }}).
    • -
    • flaky count shows the number of all builds where -{{ testset.getName }} failed on the first run but, when rerun, it passed -(during the last {{ lastDaysFlaky }} days, since {{ sinceDateFlaky }}).
    • +(since {{ sinceDateFailures }}) +
    • flaky: number of all builds where {{ testset.getName }} failed +on the first run but, when rerun, it passed (during the last {{ lastDaysFlaky }} days, +since {{ sinceDateFlaky }})
    • +
    +
  • Results in Branches shows the {{ testset.getName }} run results by branch and their configuration on {{ masterProject }} {{ masterState }} builds -( = {{ constant('TestsetRun::RESULT_SUCCESS') }}, +
      +
    • flags: i = insignificant flag set for the testset on the latest build of the configuration
    • +
    • results: = {{ constant('TestsetRun::RESULT_SUCCESS') }}, = {{ constant('TestsetRun::RESULT_SUCCESS') }} as flaky, - = {{ constant('TestsetRun::RESULT_FAILURE') }}); -details on the runs are available as tooltip on result icon.
    • + = {{ constant('TestsetRun::RESULT_FAILURE') }} +
    +
  • +
  • Details on the runs are available as tooltip on result icon
@@ -145,7 +153,7 @@ details on the runs are available as tooltip on result icon. {# Print summary #} {# Project name #} -{{ testset.getProjectName }} +{{ testset.getProjectName }} {# Testset status according to the latest build results #} {% if testset.getStatus == constant('TestsetRun::RESULT_SUCCESS') %} @@ -252,7 +260,8 @@ details on the runs are available as tooltip on result icon. - + + {% for key, buildKey in buildKeys %} {% endif %} - +{% set link = confProjectRoute ~ '/' ~ run.getConfName|url_encode ~ '/' ~ testset.getProjectName %} + +{# Flags for the latest build #} + {% set buildKeyIndexPrinted = -1 %} {% endif %} -- cgit v1.2.3
{{ testset.getName }}{{ testset.getName }}flags {% if buildKey|length > 6 %} @@ -284,7 +293,14 @@ details on the runs are available as tooltip on result icon.
{{ run.getConfName }}{{ run.getConfName }} +{% if run.getInsignificant %} +i +{% endif %} +