RubyFlow The Ruby and Rails community linklog

Integration tests vs. Bogus

Bogus verifies that you only stub real method calls. There must be a context in which the stubbed method acts the way you stubbed it, or Bogus will fail your tests. Therefore Bogus checks the contract between mocked components – something that you would usually use integration tests for.

Integration tests vs. Bogus

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