Application for keeping statistic of played board games, optimized for mobile view.
- NET 5.0
- Entity Framework Core 5.0
- NUnit
- FluentValidation
- MediatR
- Automapper
- Angular 11
- Angular Material
- Docker
- Docker
- from repository root run
docker-compose up
- application will be available at http://host.docker.internal:5007
- navigate to
tests\HorCup.Tests
and execute:
dotnet test --collect:"XPlat Code Coverage"
- it will generate folder
tests\HorCup.Tests\TestResults\{Guid}\coverage.cobertura.xml
- make sure report generator is installed
- after run:
reportgenerator "-reports:{path to test result folder}\coverage.cobertura.xml" "-targetdir:coveragereport" -reporttypes:Html
- report will e generated at
tests\HorCup.Tests\coveragereport
, openindex.html
file
- navigate to
src\HorCup.Presentation\ClientApp
- open command prompt and run:
npm run test:coverage
- to run one test:
fit("should....");
- to ignore test:
xit("should....");
##For storing sensitive data during local development Secret Manager is used. To setup:
dotnet user-secrets init
dotnet user-secrets set "ExternalClients:Google:ClientId" "12345"