From 42c0c75a9e3564758aaaccadec9e1bad42b283eb Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Tue, 26 Apr 2016 14:24:56 +0200 Subject: Functest reporting refactoring integrate the notion of version (brahmaputra, master, ..) change dir structure Change-Id: Ieb8aed811ed4e1ab8738fb02e4db411da3d07ca2 Signed-off-by: Morgan Richomme --- .../functest/template/index-status-tmpl.html | 94 ++++++++++++++++++++++ .../functest/template/index-tempest-tmpl.html | 90 +++++++++++++++++++++ .../functest/template/index-vims-tmpl.html | 91 +++++++++++++++++++++ 3 files changed, 275 insertions(+) create mode 100644 utils/test/reporting/functest/template/index-status-tmpl.html create mode 100644 utils/test/reporting/functest/template/index-tempest-tmpl.html create mode 100644 utils/test/reporting/functest/template/index-vims-tmpl.html (limited to 'utils/test/reporting/functest/template') diff --git a/utils/test/reporting/functest/template/index-status-tmpl.html b/utils/test/reporting/functest/template/index-status-tmpl.html new file mode 100644 index 000000000..604f2c8e4 --- /dev/null +++ b/utils/test/reporting/functest/template/index-status-tmpl.html @@ -0,0 +1,94 @@ + + + + + + + + + + + +
+
+

Functest status page ({{version}})

+ +
+
+
+
+ + +
+

List of last scenarios ({{version}}) run over the last {{period}} days

+ + + + + + {% for scenario,iteration in scenario_stats.iteritems() -%} + + + + + {%- endfor %} +
ScenarioIteration
{{scenario}}{{iteration}}
+
+ + + + {% for scenario, iteration in scenario_stats.iteritems() -%} +
+ +
+
+ + +
+ + + {% for test in items[scenario] -%} + + {%- endfor %} + + + {% for test in items[scenario] -%} + {% if test.isRunnable is sameas false -%} + + {% elif test.getCriteria() > 2 -%} + + {%- elif test.getCriteria() > 1 -%} + + {%- elif test.getCriteria() > 0 -%} + + {%- else -%} + + {%- endif %} + {%- endfor %} + +
{{test.getName() }}
N.R
+
+
+ {%- endfor %} +
+
+
diff --git a/utils/test/reporting/functest/template/index-tempest-tmpl.html b/utils/test/reporting/functest/template/index-tempest-tmpl.html new file mode 100644 index 000000000..be0b79734 --- /dev/null +++ b/utils/test/reporting/functest/template/index-tempest-tmpl.html @@ -0,0 +1,90 @@ + + + + + + + + + + + +
+
+

Tempest status page

+ +
+
+
+
+ + {% for scenario_name, results in scenario_results.iteritems() -%} +
+ + {% for result in results -%} + {% if loop.index > 2 -%} + + {%- endfor %} +
+
+
diff --git a/utils/test/reporting/functest/template/index-vims-tmpl.html b/utils/test/reporting/functest/template/index-vims-tmpl.html new file mode 100644 index 000000000..8858182c1 --- /dev/null +++ b/utils/test/reporting/functest/template/index-vims-tmpl.html @@ -0,0 +1,91 @@ + + + + + + + + + + + +
+
+

vIMS status page

+ +
+
+
+
+ + {% for scenario_name, results in scenario_results.iteritems() -%} +
+ + {% for result in results -%} + {% if loop.index > 2 -%} + + {%- endfor %} +
+
+
-- cgit 1.2.3-korg