Stubbing Is Not Enough
Fast tests though “mock objects” has gotten a good amount of buzz lately within the Ruby community. However the common approach of stubbing leaves us with brittle tests that are difficult to change. In this blog post, I offer an alternative way of isolating our dependencies to get fast tests without making them brittle.
Post a comment