Vagif Abilov's blog on .NET

Browse by Tags

All Tags » mocking (RSS)
Interaction-based testing and stable expectations
Yesterday I participated in a discussion about how to test the following class (it was actually an interview question). Here’s the class under test: public class ClassUnderTest { private SomeService service; public ClassUnderTest(SomeService service)...
Mock framework challenges in F#
Getting mock framework API rigth is uneasy task. Mock framework designers don’t have as much freedom as designers of other libraries: the purpose of a mock framework is not to expose an arbitraty API (unknown at the time of mock framework design) and...
Mock Me Tender
It must be NDC that inspires test-driven songs. Last year it was We Can Mock It Out , this time it’s Mock Me Tender. Here we go… Mock me tender, Mock me sweet. Time is to confess: You have made my code complete - Let us gently test. Mock me tender, Mock...
.NET mocking framework comparison
A couple of good sources for those who need to decide: Capability comparison made by Morgan Soley. Half year old but with a feature comparison table. Recently updated comparison by Andrew Kazyrevich. TypeMock Isolator is a clear winner if it fits in your...