I am starting to go through Mosh’s Unit Testing course. I am using Visual Studio 2019 and I am trying to run the projects/ tests but keep getting these errors,
I will try that; should I try it even if the main method doesn’t do anything? Or how do I run the tests on the methods in the different class libraries? Hopefully that makes sense:)
Yes, you’ll want to have it even if it doesn’t do anything. In order to run the tests you’ll wanna make sure you have the Visual Studio test runner I think? I use Rider so I might be wrong about that one.