See scripts/
folder.
Workflow when using this scaffold:
- Start the Docker container with the tools needed to build, run and test your solution (see below).
- Edit your code using you favorite code editor.
- Run the unit tests inside the container using
dotnet test .\CodeRetreat.Tests\
. - (optional) Run the application inside the container using
dotnet run --project .\CodeRetreat.Console\
.
Under Linux, run a bash shell inside the docker container from the terminal:
./dotnet-env.sh
Or, under Windows, run a bash shell inside the docker container from PowerShell:
./dotnet-env.ps1
This will start an interactive Docker container with the .NET Core SDK. A volume to the current folder is mounted into this container (in '/app').
dotnet test .\CodeRetreat.Tests\
The results of the tests are reported in the standard output only.
dotnet run --project .\CodeRetreat.Console\
The results of the tests are reported in the standard output only.
CodeRetreat.Console
: console project that runs the modelCodeRetreat.Model
: source code projectCodeRetreat.Tests
: test project