Commit b47db40
build: add Coverage FAKE target for code coverage collection
Uses the Coverlet packages already present in FSharp.Data.Core.Tests
(coverlet.collector 6.0.4 + coverlet.msbuild 6.0.4) to collect XPlat
Code Coverage during the test run, writing results to ./coverage-results/.
Adds user-friendly guidance for generating an HTML report with
dotnet-reportgenerator-globaltool (no new required dependency).
Usage:
dotnet run --project build/build.fsproj -t Coverage
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent eb51909 commit b47db40
1 file changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 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 | + | |
126 | 152 | | |
127 | 153 | | |
128 | 154 | | |
| |||
179 | 205 | | |
180 | 206 | | |
181 | 207 | | |
| 208 | + | |
182 | 209 | | |
183 | 210 | | |
184 | 211 | | |
| |||
247 | 274 | | |
248 | 275 | | |
249 | 276 | | |
| 277 | + | |
250 | 278 | | |
251 | 279 | | |
252 | 280 | | |
| |||
0 commit comments