A common thing I come across is that teams using a mocking framework assume they are mocking. They are not aware that Mocks are just one of a number of ‘Test Doubles’ which Gerard Meszaros has ...
Right now, I'm half-way thru "The Art of Unit Testing" book and wrapping my head around Stubs and Mocks. As an exercise to consolidate and validate what I'm learning, I've created a simple chart of ...
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 When building or working in .NET applications you might ...