1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset="UTF-8">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <title>{$app.app_id} - Ethna UnitTest</title>
7 <style type="text/css">
12 background-color: #ffffff;
15 body, td, th, h1, h2 {font-family: sans-serif;}
16 pre {margin: 0px; font-family: monospace;}
17 a:link {color: #000099; text-decoration: none; background-color: #ffffff;}
18 a:hover {text-decoration: underline;}
19 table { margin: auto; border-collapse: collapse;}
20 .center {text-align: center;}
21 .center table { text-align: left;}
22 .center th { text-align: center !important; }
23 td, th { border: 1px solid #000000; font-size: 75%; vertical-align: top;}
26 .p {text-align: left;}
27 .e {background-color: #ccccff; font-weight: bold; color: #000000;}
28 .h {background-color: #9999cc; font-weight: bold; color: #000000;}
29 .v {background-color: #cccccc; color: #000000;}
30 .vf {background-color: #cccccc; color: red;}
31 i {color: #666666; background-color: #cccccc;}
32 img {float: right; border: 0px;}
33 hr {width: 600px; background-color: #cccccc; border: 0px; height: 1px; color: #000000;}
37 background-color: #9999cc;
39 border:solid 1px black;
47 <div class="header"><h1>{$app.app_id}</h1></div>
49 <table border="0" cellpadding="2" width="600">
50 {foreach from=$app.report key="key" item="item"}
51 {if $item.type=='Pass'}
53 <th class="e">{$item.test}</th>
54 <td class="v">{$item.message}</td>
56 {elseif $item.type=='CaseEnd'}
57 {elseif $item.type=='CaseStart'}
59 <th colspan="2">{$item.test_name}</th>
61 {elseif $item.type=='Exception'}
63 <th class="e">{$item.test}</th>
64 <td class="vf">Exception
65 <ul>{foreach from=$item.breadcrumb item="crumb"}<li>{$crumb}</li>{/foreach}</ul><strong>{$message|escape:"html"}</strong><br />
68 {elseif $item.type=='Fail'}
70 <th class="e">{$item.test}</th>
71 <td class="vf"><strong>Fail</strong> {$item.message}</td>
75 <td colspan="2">{$item.message}</td>
80 <td>You don't create any Testcase.</td>
86 you can generate testcase with the following commands.
89 ethna add-action-test [testcasename]<br>
90 ethna add-view-test [testcasename]<br>
91 ethna add-test [testcasename]
99 {$app.result.TestCaseProgress}/{$app.result.TestCaseCount} test cases complete:
100 <strong>{$app.result.PassCount}</strong> passes,
101 <strong>{$app.result.FailCount}</strong> fails and
102 <strong>{$app.result.ExceptionCount}</strong> exceptions.
106 powered by <a href="http://ethna.jp/">Ethna {$app.ethna_version}</a>