RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in