summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/functest/template
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-05-19 14:41:23 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2016-05-19 14:44:36 +0200
commitd9d3645559462a4139ee33f0cca3be12e37b2d36 (patch)
tree020870700567e85cf77e36d697c05a2cfa8be4c0 /utils/test/reporting/functest/template
parent80014d7bb5932998e95ca37729b68938fb28fe9f (diff)
Adapt reporting after Functest refactoring
Get test cases from cases declares in Tiers Consider only Tier 0-3 to validate scenario Display results for Tier > 3 Change-Id: I581702bd7f2cc323d38b82a2404b301fb8fd7840 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'utils/test/reporting/functest/template')
-rw-r--r--utils/test/reporting/functest/template/index-status-tmpl.html18
1 files changed, 12 insertions, 6 deletions
diff --git a/utils/test/reporting/functest/template/index-status-tmpl.html b/utils/test/reporting/functest/template/index-status-tmpl.html
index 7a0656b74..89a1d1527 100644
--- a/utils/test/reporting/functest/template/index-status-tmpl.html
+++ b/utils/test/reporting/functest/template/index-status-tmpl.html
@@ -74,20 +74,25 @@
<table class="table">
<tr>
{% for test in items[scenario] -%}
- <th>{{test.getName() }}</th>
+ <th>
+ {% if test.getCriteria() > -1 -%}
+ {{test.getDbName() }}
+ {%- endif %}
+ {% if test.getTier() > 3 -%}
+ *
+ {%- endif %}
+ </th>
{%- endfor %}
</tr>
<tr class="tr-weather-weather">
- {% for test in items[scenario] -%}
- {% if test.isRunnable is sameas false -%}
- <td>N.R</td>
- {% elif test.getCriteria() > 2 -%}
+ {% for test in items[scenario] -%}
+ {% if test.getCriteria() > 2 -%}
<td><img src="../../img/weather-clear.png"></td>
{%- elif test.getCriteria() > 1 -%}
<td><img src="../../img/weather-few-clouds.png"></td>
{%- elif test.getCriteria() > 0 -%}
<td><img src="../../img/weather-overcast.png"></td>
- {%- else -%}
+ {%- elif test.getCriteria() > -1 -%}
<td><img src="../../img/weather-storm.png"></td>
{%- endif %}
{%- endfor %}
@@ -96,6 +101,7 @@
</div>
</div>
{%- endfor %}
+ *: not used for scenario validation
</div>
<div class="col-md-1"></div>
</div>