https://github.com/seralaci/unittesting
Unit Testing (.NET Playground)
https://github.com/seralaci/unittesting
csharp dotnet testing unit-testing
Last synced: about 2 months ago
JSON representation
Unit Testing (.NET Playground)
- Host: GitHub
- URL: https://github.com/seralaci/unittesting
- Owner: seralaci
- Created: 2023-02-19T10:12:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-19T17:44:34.000Z (over 3 years ago)
- Last Synced: 2025-06-24T08:03:58.646Z (about 1 year ago)
- Topics: csharp, dotnet, testing, unit-testing
- Language: C#
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unit Testing (.NET Playground)
## Code Coverage
```bash
coverlet ./bin/Debug/net7.0/Users.Api.Tests.Unit.dll --target "dotnet" --targetargs "test --no-build" --exclude "[*]Users.Api.Repositories*"'
```
```bash
dotnet test --collect:"XPlat Code Coverage"
```
```bash
reportgenerator -reports:"./TestResults/8ff703a5-41ac-44ec-b967-32ca3ce8f3f6/coverage.cobertura.xml" -targetdir:"codecoverage" -reporttypes:Html
```