-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce65353
commit 77be89f
Showing
14 changed files
with
595 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
111 changes: 111 additions & 0 deletions
111
.../uss_qualifier/reports/templates/tested_requirements/participant_tested_requirements.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
<html> | ||
<head> | ||
<style> | ||
table, th, td { | ||
border: 1px solid; | ||
} | ||
td { | ||
vertical-align: top; | ||
} | ||
th { | ||
background-color: rgb(230, 230, 230); | ||
} | ||
.pass_result { | ||
background-color: rgb(192, 255, 192); | ||
} | ||
.fail_result { | ||
background-color: rgb(255, 192, 192); | ||
} | ||
.not_tested { | ||
background-color: rgb(192, 192, 192); | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div> | ||
<h2>{{ participant_id }} tested requirements</h2> | ||
<table> | ||
<tr> | ||
<th>Package</th> | ||
<th>Requirement</th> | ||
<th>Result</th> | ||
<th>Scenario</th> | ||
<th>Case</th> | ||
<th>Step</th> | ||
<th>Check</th> | ||
</tr> | ||
|
||
{% set first_row = namespace(package=True, requirement=True, scenario=True, case=True, step=True) %} | ||
{% for package in breakdown.packages %} | ||
{% set first_row.package = True %} | ||
{% for requirement in package.requirements %} | ||
{% set first_row.requirement = True %} | ||
{% for test_scenario in requirement.scenarios %} | ||
{% set first_row.scenario = True %} | ||
{% for test_case in test_scenario.cases %} | ||
{% set first_row.case = True %} | ||
{% for test_step in test_case.steps %} | ||
{% set first_row.step = True %} | ||
{% for check in test_step.checks %} | ||
<tr> | ||
{% if first_row.package %} | ||
<td rowspan="{{ package.rows }}">{{ package.name }}</td> | ||
{% endif %} | ||
{% if first_row.requirement %} | ||
<td rowspan="{{ requirement.rows }}" class="{{ requirement.classname }}">{{ requirement.id }}</td> | ||
{% endif %} | ||
<td class="{{ check.classname }}">{{ check.result }}</td> | ||
{% if first_row.scenario %} | ||
<td rowspan="{{ test_scenario.rows }}"> | ||
{% if test_scenario.url %} | ||
<a href="{{ test_scenario.url }}">{{ test_scenario.name }}</a> | ||
{% else %} | ||
{{ test_scenario.name }} | ||
{% endif %} | ||
</td> | ||
{% endif %} | ||
{% if first_row.case %} | ||
<td rowspan="{{ test_case.rows }}"> | ||
{% if test_case.url %} | ||
<a href="{{ test_case.url }}">{{ test_case.name }}</a> | ||
{% else %} | ||
{{ test_case.name }} | ||
{% endif %} | ||
</td> | ||
{% endif %} | ||
{% if first_row.step %} | ||
<td rowspan="{{ test_step.rows }}"> | ||
{% if test_step.url %} | ||
<a href="{{ test_step.url }}">{{ test_step.name }}</a> | ||
{% else %} | ||
{{ test_step.name }} | ||
{% endif %} | ||
</td> | ||
{% endif %} | ||
<td class="{{ check.classname }}"> | ||
{% if check.url %} | ||
<a href="{{ check.url }}">{{ check.name }}</a> | ||
{% else %} | ||
{{ check.name }} | ||
{% endif %} | ||
{% if check.successes + check.failures > 1 %} | ||
({{ check.successes + check.failures }}x) | ||
{% endif %} | ||
</td> | ||
</tr> | ||
|
||
{% set first_row.package = False %} | ||
{% set first_row.requirement = False %} | ||
{% set first_row.scenario = False %} | ||
{% set first_row.case = False %} | ||
{% set first_row.step = False %} | ||
{% endfor %} | ||
{% endfor %} | ||
{% endfor %} | ||
{% endfor %} | ||
{% endfor %} | ||
{% endfor %} | ||
</table> | ||
</div> | ||
</body> | ||
</html> |
12 changes: 12 additions & 0 deletions
12
monitoring/uss_qualifier/reports/templates/tested_requirements/test_run_report.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<html> | ||
<body> | ||
<div> | ||
<h2>Participants</h2> | ||
<ul> | ||
{% for participant_id in participant_ids %} | ||
<li><a href="./{{ participant_id }}.html">{{ participant_id }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.