Skip to content

Burkhardt/RaiCore.Test

Repository files navigation

Setup 6 projects

This is my recommendation for a test-first solution setup using these projects:

github projects

mkdir ~/ProjectsCoreGitHub/Source
cd ~/ProjectsCoreGitHub/Source
git clone https://github.com/Burkhardt/Persist.git
git clone https://github.com/Burkhardt/RaiCore.Test.git
git clone https://github.com/Burkhardt/nyokacli.git
git clone https://github.com/Burkhardt/OsLib.git
git clone https://github.com/Burkhardt/JsonPit.git
git clone https://github.com/Burkhardt/RaiUtils.git

Now we have 6 projects in subdirectories.

screenshot of folders

Create a solution

dotnet new sln

Creates a solution file - it's empty yet.

dotnet sln add Persist
dotnet sln add JsonPit
dotnet sln add nyokacli
dotnet sln add OsLib
dotnet sln add RaiCore.Test
dotnet sln add RaiUtils

The use of JsonFile for .nyokaremote.json is shown in a unit test:

UnitTests in GitHub project

Start VS Code

code .

Make sure you have the necessary plugins

PlugIns

* .NET Core Test Explorer
* C#
* C# XML Documentation
* Docker (for later)

Switch to Test Explorer

TestFirst

Now you can start any unit test on the vright side via Debug Test or on the left side tapping the run button in the test explorer.

About

Tests for RaiCore solution as Unit-Test project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages