Skip to content

Commit f49c44d

Browse files
Added Code Coverage note (dotnet#752)
1 parent 6a9e4f1 commit f49c44d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

BUILDGUIDE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,3 +264,17 @@ There may be times where connection cannot be made to SQL Server, we found below
264264
<TargetsWindows>false</TargetsWindows>
265265
<TargetsUnix>true</TargetsUnix>
266266
```
267+
268+
## Collecting Code Coverage
269+
270+
### Using VSTest
271+
272+
```bash
273+
dotnet test <test_properties...> --collect:"Code Coverage"
274+
```
275+
276+
### Using Coverlet Collector
277+
278+
```bash
279+
dotnet test <test_properties...> --collect:"XPlat Code Coverage"
280+
```

0 commit comments

Comments
 (0)