A simple programming exercise for BizCover's Car Api
- DotNetCore >= 2.2
- Open console
- Go to project root folder
- execute command to build
docker-compose -f .\docker-compose-test.yml build
- execute command to spin up api and run unit and integration tests (give some time for tests to complete)
docker-compose -f .\docker-compose-test.yml up
- Browse to http://localhost:5000/swagger to see list of APIs
- Open console
- Go to project root folder
- execute command to build
dotnet build .\src\BizCover.Api.Cars
- execute command to run api
dotnet run --project .\src\BizCover.Api.Cars\BizCover.Api.Cars.csproj
- Browse to http://localhost:5000/swagger to see list of APIs
- Open console
- Go to project root folder
- execute command to run unit tests
dotnet test .\tests\BizCover.Api.Cars.Unit.Tests\
- execute command to run integration tests (make sure the api is running from steps above)
dotnet test .\tests\BizCover.Api.Cars.Integration.Tests\