- Open project in Visual Studio Code (
SLang-Metrics
folder)- Open debug panel on left side of IDE (or press Ctrl + Shift + D)
- Launch project with "green arrow" button (also you can select configuration near it)
Use "Build & Launch .NET Core" configuration to start project from scratch Use "Launch .NET Core" to launch program that was already built Use "Test .NET Core" to launch tests
- Open solution in Visual Studio using
SLang-Metrics.csproj
- Start project with "Slang-Matrics"
Use "Test" configuration with launch or change variable
isTestingMode = true;
in file Testing.cs and recompile project.
Tests raise exception window if some test fails and show error message or writes to console "All tests SUCCED" if all tests passed.