Nuacht

Practical .NET Ensure Consistent Testing with Mock Objects and Moq If you run an automated test and your test fails then you want to know that it's your fault -- not a problem in someone else's code ...
Mocking Methods and Parameters My first step in building a test for ProcessSale is to create a mock Customer object with a CreditCheck method that always returns True -- that will ensure my mock ...
Learn when static methods can’t be unit tested and how to use wrapper classes and the Moq and xUnit frameworks to unit test them when they can ...