dotnet new sln
.dotnet new classlib
.dotnet sln add program/program.csproj
, in order to add program to your solution.dotnet new nunit
(you can use others unit tests frameworks but in this guide we will stick to nunit).dotnet add reference ../program/program.csproj
dotnet sln add test/test.csproj
.dotnet add package Shouldly
, to add Shouldly as a NuGet Package.dotnet test
.