aboutsummaryrefslogtreecommitdiffstats
path: root/template/all_test_suites_tpl.html
blob: f48438585615291bcd9e91533b096767d401a022 (plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE html>
<html>
        <head>
                <meta charset="utf-8"/>
                <title>Summary Report</title>
                <style>body {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    min-width: 800px;
    color: #999;
}

h1 {
    font-size: 24px;
    color: black;
}

h2 {
    font-size: 16px;
    color: black;
}

p {
    color: black;
}

a {
    color: #999;
}

table {
    border-collapse: collapse;
}

/******************************
 * TEST RESULT COLORS
 ******************************/
span.passed,
.passed .col-result {
    color: green;
}

span.skipped,
.skipped .col-result {
    color: orange;
}

span.failed,
.failed .col-result {
    color: red;
}

/******************************
 * RESULTS TABLE
 * Table Layout
 ******************************/
#results-table {
    border: 1px solid #e6e6e6;
    color: #666;
    font-size: 12px;
    width: 50%;
}
#results-table th,
#results-table td {
    padding: 5px;
    border: 1px solid #E6E6E6;
    text-align: left;
}
#results-table th {
    font-weight: bold;
}

                </style>
        </head>

        <body>
                <h1>Summary Report</h1>
                <p>Report generated on {{ data.date_F }} at {{ data.date_T }} by <a href="https://git.automotivelinux.org/src/agl-test-framework/">agl-test-framework</a> </p>
                <h2>Summary</h2>
{{ data.summry_status_html }}
                <p>{{ data.summary.summary_total }} test suites ran </p>
                <span class="passed">{{ data.summary.summary_passed }} passed</span>,
                <span class="skipped">{{ data.summary.summary_skipped }} skipped</span>,
                <span class="failed">{{ data.summary.summary_failed }} failed</span>,
                <h2>Details</h2>
                <table id="results-table">
                        <thead>
                                <tr>
                                <th>Result</th>
                                <th>Test Suite</th>
                                <th>Total</th>
                                <th>Pass</th>
                                <th>Skip</th>
                                <th>Fail</th>
                                <th>Xfail</th>
                                <th>Xpass</th>
                                </tr>
                        </thead>
{{ data.test_suite_table_html }}
                </table>
        </body>
</html>