« blib/lib/Tapper/Reports/Web/Model/TestrunDB.pm
↑ Summary
root/tapper/testruns/testrun_overview.mas »
| 1 | <%args> | ||
| 2 | $report | ||
| 3 | $testrun | ||
| 4 | $overview | ||
| 5 | $hostname | ||
| 6 | $time | ||
| 7 | $resources => [] | ||
| 8 | $dependencies => [] | ||
| 9 | %reportlist_rgt => {} | ||
| 10 | $precondition_string => '' | ||
| 11 | </%args> | ||
| 12 | |||
| 13 | 1 | ▶ | % use Data::Dumper; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | % my $topic = $testrun->topic_name; | ||
| 15 | |||
| 16 | <h3> | ||
| 17 | Testrun <% $testrun->id %>: | ||
| 18 | <strong><a href="/tapper/testruns/topic/<% $topic %>"><% $topic %></a></strong> | ||
| 19 | </h3> | ||
| 20 | |||
| 21 | <!-- ************************************************************ --> | ||
| 22 | |||
| 23 | % if (%reportlist_rgt) { | ||
| 24 | <h4>Reports</h4> | ||
| 25 | <& /tapper/reports/reportlist.mas, reportlist => \%reportlist_rgt, testplan_id => $testrun->testplan_id &> | ||
| 26 | %} | ||
| 27 | |||
| 28 | <!-- ************************************************************ --> | ||
| 29 | |||
| 30 | |||
| 31 | <ul class="post_info"> | ||
| 32 | <li class="date"><% $time || '' %></li> | ||
| 33 | <li class="meta">Host: '<% $hostname || '' %>'</li> | ||
| 34 | % if ($resources) { | ||
| 35 | % foreach my $resource (@$resources) { | ||
| 36 | <li class="meta">Resource: '<% $resource->name %>'</li> | ||
| 37 | % } | ||
| 38 | % } | ||
| 39 | % if ($dependencies) { | ||
| 40 | % foreach my $dependency (@$dependencies) { | ||
| 41 | <li class="meta">Depends on <a href="/tapper/testruns/id/<% $dependency->id %>">tr<% $dependency->id %></a></li> | ||
| 42 | % } | ||
| 43 | % } | ||
| 44 | </ul> | ||
| 45 | |||
| 46 | <!-- ************************************************************ --> | ||
| 47 | |||
| 48 | <& /tapper/testruns/testrun_overview.mas, overview => $overview &> | ||
| 49 | |||
| 50 | <!-- <a href="/tapper/testruns/<% $testrun->id %>/similar" title="Create a new precondition and use this precondition as a template.">Create similar Testrun</a> |> --> | ||
| 51 | <!-- <a href="/tapper/testruns/<% $testrun->id %>/change" title="Change values of this preconditions without creating a new one">Change Testrun</a> | --> | ||
| 52 | <!-- <a href="/tapper/testruns/<% $testrun->id %>/delete" title="Information about testruns using this precondition will be wrong.">Delete Testrun</a> | --> | ||
| 53 | |||
| 54 | <!-- ************************************************************ --> | ||
| 55 | |||
| 56 | <h4>Preconditions</h4> | ||
| 57 | <pre> | ||
| 58 | <% $precondition_string %> | ||
| 59 | </pre> | ||
| 60 | % if ($testrun->testrun_scheduling->status eq 'schedule' or $testrun->testrun_scheduling->status eq 'prepare'){ | ||
| 61 | <a href="/tapper/testruns/<% $testrun->id %>/preconditions/edit/">Edit precondition</a> | ||
| 62 | % } | ||
| 63 | <h4>Details</h4> | ||
| 64 | <ul style="list-style-type:disc;"> | ||
| 65 | <li style="margin-left: 1em;"><a href="/tapper/testruns/<% $testrun->id %>/preconditions/yaml/">Preconditions in raw YAML</a></li> | ||
| 66 | % if ($testrun->testplan_id) { | ||
| 67 | <li style="margin-left: 1em;"><a href="/tapper/testplan/id/<% $testrun->testplan_id %>">Associated testplan</a></li> | ||
| 68 | % } | ||
| 69 | </ul> | ||
| 70 | |||
| 71 | <!-- ************************************************************ --> | ||
| 72 | |||
| 73 | |||
| 74 | %# Local Variables: | ||
| 75 | %# buffer-file-coding-system: utf-8 | ||
| 76 | %# End: | ||
| 77 | |||