Commit b263f5e
committed
chore(test): add comprehensive test coverage infrastructure with coverage reporting tools
This commit introduces a complete test coverage infrastructure including coverage reporting tools, configuration files, and enhanced Makefile targets for comprehensive test coverage analysis.
The changes include:
- Adding `scripts/check_coverage.py` to handle coverage analysis and threshold checking
- Creating `coverage.json` to store coverage data
- Adding `coverage.yaml` for coverage configuration with line and branch coverage thresholds
- Enhancing Makefile with comprehensive coverage targets (test, test-unit, test-e2e, coverage, coverage-full, coverage-check, etc.)
//
此提交引入了一个完整的测试覆盖基础设施,包括覆盖报告工具、配置文件和增强的 Makefile 目标,用于全面的测试覆盖分析。
更改包括:
- 添加 `scripts/check_coverage.py` 来处理覆盖分析和阈值检查
- 创建 `coverage.json` 来存储覆盖数据
- 添加 `coverage.yaml` 用于覆盖配置,包含行和分支覆盖阈值
- 增强 Makefile,添加全面的覆盖目标(test、test-unit、test-e2e、coverage、coverage-full、coverage-check 等)
Change-Id: I6561fa6c9f1cc37578fc246b5a2f05fe33463f07
Signed-off-by: OhYee <[email protected]>1 parent fdcea19 commit b263f5e
File tree
4 files changed
+8105
-0
lines changed- scripts
4 files changed
+8105
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
0 commit comments