RubyFlow The Ruby and Rails community linklog

Replacing Mocks With Hand-Written Test Doubles

If you reach for mocks when needing to stub out methods on objects under test, a hand-written test double may be a much better fit.

https://www.rubypigeon.com/posts/replacing-mocks-with-handwritten-test-doubles/

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