Introduction Microsoft Test Framework “MSTest V2” is the evolution of the Microsoft Test Framework and Adapter. I wanted to try this new framework test by creating a new test project from an empty class library instead of using a MsTest test…
Month: August 2018
How to unit test private methods in .NET Core applications? (even if it’s bad)
Introduction Yes it’s bad and dirty! Since your private methods are only an implementation detail whose existence and behavior is only justified by their use in public methods, then these private methods are automatically tested through public method tests. In…