|
1 |
| -{% assign result_total = include.pass | plus: include.skip | plus: include.fail %} |
| 1 | +{% assign result_total = include.pass | plus: include.expectedfail | plus: include.skip %} |
2 | 2 | {% assign pass_percent = include.pass | times: 100.0 | divided_by: result_total | round: 2 %}
|
| 3 | +{% assign expectedfail_percent = include.expectedfail | times: 100.0 | divided_by: result_total | round: 2 %} |
3 | 4 | {% assign skip_percent = include.skip | times: 100.0 | divided_by: result_total | round: 2 %}
|
4 |
| -{% assign fail_percent = include.fail | times: 100.0 | divided_by: result_total | round: 2 %} |
5 | 5 |
|
6 | 6 | {% assign pass_color = "#4c1" %}
|
7 |
| -{% assign skip_color = "#e4df12" %} |
8 |
| -{% assign fail_color = "#fe7d37" %} |
| 7 | +{% assign expectedfail_color = "#e4df12" %} |
| 8 | +{% assign skip_color = "#fe7d37" %} |
9 | 9 | {% assign bar_height = "20px" %}
|
10 | 10 |
|
11 | 11 | {%if include.svg %}
|
|
14 | 14 | <g shape-rendering="crispEdges">
|
15 | 15 | <rect width="49" height="20" fill="#555" />
|
16 | 16 | <rect x="49" width="65" height="20" fill="{{ pass_color }}" />
|
17 |
| - <rect x="114" width="65" height="20" fill="{{ skip_color }}" /> |
18 |
| - <rect x="179" width="65" height="20" fill="{{ fail_color }}" /> |
| 17 | + <rect x="114" width="65" height="20" fill="{{ expectedfail_color }}" /> |
| 18 | + <rect x="179" width="65" height="20" fill="{{ skip_color }}" /> |
19 | 19 | </g>
|
20 | 20 | <g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif"
|
21 | 21 | text-rendering="geometricPrecision" font-size="110">
|
22 | 22 | <text x="255" y="140" transform="scale(.1)"
|
23 | 23 | textLength="390">Results</text>
|
24 | 24 | <text x="805" y="140" transform="scale(.1)" textLength="550">Pass {{ pass_percent | round: 1 }}%</text>
|
25 |
| - <text x="1455" y="140" transform="scale(.1)" textLength="550">Skip {{ skip_percent | round: 1 }}%</text> |
26 |
| - <text x="2105" y="140" transform="scale(.1)" textLength="550">Fail {{ fail_percent | round: 1 }}%</text> |
| 25 | + <text x="1455" y="140" transform="scale(.1)" textLength="550">Expected Failure {{ expectedfail_percent | round: 1 }}%</text> |
| 26 | + <text x="2105" y="140" transform="scale(.1)" textLength="550">Skip {{ skip_percent | round: 1 }}%</text> |
27 | 27 | </g>
|
28 | 28 | </svg>
|
29 | 29 |
|
|
50 | 50 | <span class="font-secondary">Passed: </span>
|
51 | 51 | {{ include.pass }} ({{ pass_percent }}%)
|
52 | 52 | </div>
|
| 53 | + <div class ="cell_summary"> |
| 54 | + <span class="font-secondary">Expected Failure: </span> |
| 55 | + {{ include.expectedfail }} ({{ expectedfail_percent }}%) |
| 56 | + </div> |
53 | 57 | <div class="cell_summary">
|
54 | 58 | <span class="font-secondary">Skipped: </span>
|
55 | 59 | {{ include.skip }} ({{ skip_percent }}%)
|
56 | 60 | </div>
|
57 |
| - <div class ="cell_summary"> |
58 |
| - <span class="font-secondary">Failed: </span> |
59 |
| - {{ include.fail }} ({{ fail_percent }}%) |
60 |
| - </div> |
61 | 61 | </div>
|
62 | 62 | <div class="row"
|
63 | 63 | style="background: linear-gradient(to right,
|
64 | 64 | {{ pass_color }} {{ pass_percent }}%,
|
65 |
| - {{ skip_color }} {{ pass_percent }}% {{ skip_percent | plus: pass_percent }}%, |
66 |
| - {{ fail_color }} {{ skip_percent | plus: pass_percent }}% {{ fail_percent | plus: pass_percent | plus: skip_percent }}% |
| 65 | + {{ expectedfail_color }} {{ pass_percent }}% {{ expectedfail_percent | plus: pass_percent }}%, |
| 66 | + {{ skip_color }} {{ expectedfail_percent | plus: pass_percent }}% {{ skip_percent | plus: pass_percent | plus: expectedfail_percent }}% |
67 | 67 | );
|
68 | 68 | height: {{ bar_height }};">
|
69 | 69 |
|
|
0 commit comments