Asserting private objects with unit testing
There’s a lot of discussion going on about designing for testability. One of the problems of unit testing your code is that you might want to insert a fake object (like a stub or...
There’s a lot of discussion going on about designing for testability. One of the problems of unit testing your code is that you might want to insert a fake object (like a stub or...
Because of the nature of my work, coaching people on-site and training people in classes, I talk to a lot of developers and managers about the way people work. Unfortunately a lot of companies...
I just read a post from Daniel Cazzulino about mocking extension methods. He wants to mock an extension method so that it behaves as he defines in his test, instead of actually calling the...
Today Typemock released a new product called Isolator for SharePoint. If you’re confused, Typemock is the company and Isolator is their mocking framework you might (and should!) know. The new product is just for...
Sometimes you execute some method and the method returns void. But it still does some complicated stuff and you want to check if everything worked. But you can’t access the internal variable that was...
I’m doing some work with TypeMock and I start to love it more and more. For example, how about removing your database completely from your continuous tests? Sure you can do some database testing...
Recent Comments