Using wrappers to aid unit testing

As I alluded to about recently when blogging about JustMock, one of the most important attributes of unit tests has to be that they are readable; you can easily reason about them and see what they do. I also talking about Moq’s overly cumbersome and verbose approach to performing Setups on mocks – I rarely … Continue reading Using wrappers to aid unit testing


First experiences of Telerik’s JustMock

Problems with Moq Having migrated from Rhino Mocks over to Moq, I have found myself lately getting more and more frustrated with the verbosity of Moq for simple assertions. I present as exhibit one the GetPayroll method, called below. I want to assert that I call the Log method with the result of GetPayroll. So … Continue reading First experiences of Telerik’s JustMock