[Article] Fun with Unit Tests – Testing abstract classes
Just posted my latest article:
Fun with Unit Tests – Testing abstract classes
Summary
In this article I’ll be looking into a trickier part of unit testing– testing the functionality of classes who cannot be instantiated on their own, abstract classes.
I’ll show how to overcome this obstacle using “Mock Objects”, a technique which has a whole methodology behind it all on its own. We’ll see how mock objects provide us with abilities that let us query what’s happening inside our derived class.
Read it. Have fun. Be productive.