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