I am new to using the Visual Studio Code in place of visual studios and i feel a little lost to how i can set up my program to include unit test.
I created a c# console app and i would like to create a test file in which i can test my main program for the console app. I am reading about all these extensions documents but i am not getting what i am expecting. I created a test extension which i have added to my main app folder. Any helpful tips to how i can integrate unit tests the same way/similar that was done in visual studios.
You can write the same way as you do in Visual Studio. For testing the code run dotnet test
in command line.
see the following link for unit tests: https://docs.microsoft.com/dotnet/articles/core/testing/unit-testing-with-dotnet-test
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With