https://github.com/felipementel/avanade.papodedev.unittest
Evento da Avanade - Papo de Dev em 01/09/2021
https://github.com/felipementel/avanade.papodedev.unittest
bogus codecoverage dotnet moq xunit
Last synced: 6 months ago
JSON representation
Evento da Avanade - Papo de Dev em 01/09/2021
- Host: GitHub
- URL: https://github.com/felipementel/avanade.papodedev.unittest
- Owner: felipementel
- License: apache-2.0
- Created: 2021-09-01T22:43:42.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-23T11:24:32.000Z (about 4 years ago)
- Last Synced: 2025-02-16T06:28:50.348Z (8 months ago)
- Topics: bogus, codecoverage, dotnet, moq, xunit
- Language: C#
- Homepage:
- Size: 7.11 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Avanade.PapoDeDev.UnitTest
## Pré-requisitos
1. dotnet tool install --global dotnet-reportgenerator-globaltool
2. https://marketplace.visualstudio.com/items?itemName=FortuneNgwenya.FineCodeCoverage
## Needs to know
1. https://github.com/danielpalme/ReportGenerator#getting-started
2. https://danielpalme.github.io/ReportGenerator/### Libraries
1. https://github.com/xunit/xunit
2. https://github.com/Moq/moq4/wiki/Quickstart
3. https://github.com/bchavez/Bogus## How to run
..\src\Avanade.PapoDeDev.UnitTest.API> dotnet run --configuration Release
## How to run local test> Access the src folder
> Access the src folder
> first command
>
> ..\src\Avanade.PapoDeDev.UnitTest.Domain.Test> dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=CoverageResults/> seccond command
..\src\Avanade.PapoDeDev.UnitTest.Domain.Test> dotnet C:\Users\f.pimentel.augusto\.nuget\packages\reportgenerator\4.8.7\tools\net5.0\ReportGenerator.dll "-reports:coverage.opencover.xml" "-targetdir:coveragereport" -reporttypes:HtmlInline_AzurePipelines_Dark;Latex "-historydir:history" "-assemblyfilters:" "-title:Project Price Announcement Report"