[9d35f2]: app / views / results / test_case / show.haml  Maximize  Restore  History

Download this file

56 lines (51 with data), 1.4 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
- @content_for_breadcrumbs = draw_breadcrumbs(@record.parent_node, h(@record.name))
- @page_title = "Test Case: #{h(@record.name)}"
%h1.page-title= @page_title
%h3 Test Parameters
%table.details
%tr
%th Command
%td= h(@record.command)
- @record.params.each_pair do |k,v|
%tr
%th= h(k.humanize)
%td= h(v)
- if @record.statistics.size > 0
%h3 Test Statistics
%table.details
- @record.statistics.each_pair do |k,v|
%tr
%th= h(k)
%td= h(v)
- if @record.test_case_compilation != nil
%h3 Test Compilation
%table.details
%tr
%th Running Time
%td= "#{h(@record.test_case_compilation.time)} ms"
%tr
%th Details
%td= link_for(@record.test_case_compilation, :label => 'Compilation Output')
%h3 Test Executions
%table.list
%tr
%th Name
%th Result
%th Exit Code
%th Running Time
%th Statistics
%th Operations
- @record.test_case_executions.each do |r|
%tr{:class => cycle('odd','even')}
%td= h(r.name)
%td= "#{h(r.result)} #{h(r.result_explanation)}"
%td= h(r.exit_code)
%td= "#{h(r.time)} ms"
%td
- if r.statistics.size > 0 or r.num_stats.size > 0
%ul
- r.statistics.each_pair do |k,v|
%li= "#{h(k)}=#{h(v)}"
- r.num_stats.each_pair do |k,v|
%li= "#{h(k)}=#{h(v)}"
%td= link_for(r, :label => 'Show Output')

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks