„dotnet test“ to execute unit tests
Open terminal in Visual Studio code and Run all unit tests:
Run the tests in the project in the current directory, and log with detailed verbosity to the console:
dotnet test --logger "console;verbosity=detailed"
For further details, please refer to: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test