1% # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
2% # Licensed under the Apache License, Version 2.0 (the "License");
3% # you may not use this file except in compliance with the License.
4% # You may obtain a copy of the License at
5% #
6% # http://www.apache.org/licenses/LICENSE-2.0
7% #
8% # Unless required by applicable law or agreed to in writing, software
9% # distributed under the License is distributed on an "AS IS" BASIS,
10% # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11% # See the License for the specific language governing permissions and
12% # limitations under the License.
13
14Tests Summary:
15  Total number of tests: <%= rep['tests']['total']%>
16  Tests accepted for coverage: <%= rep['tests']['counted_for_coverage']%>
17  Tests with not matching assertions: <%= rep['tests']['orphaned']%>
18
19Specification Summary:
20  Total number of assertions: <%= rep['assertions']['testable'] + rep['assertions']['non_testable']%>
21  Testable assertions: <%= rep['assertions']['testable']%>
22  Non-testable assertions: <%= rep['assertions']['non_testable']%>
23  Covered assertions: <%= rep['assertions']['covered']%>
24  Not covered assertions: <%= rep['assertions']['not_covered']%>
25
26Coverage by Groups:<% rep['coverage_by_groups'].each do |g| %>
27  <%= g['title']-%>: <%= g['coverage_metric']-%>
28<% end %>
29
30Overall Coverage Metric: <%= rep['coverage_metric']%>
31