Ask A Question

Notifications

You’re not receiving notifications from this thread.

How to use Test Stubs with Minitest Discussion

would it be reasonable to have a subset of the testsuite only testing expensive external dependencies (db access, 3rd/party/integrations, etc. and run these on the side, and have stubbed methods being tested on a second threat, so to speak, that could run continuously (via guard, i.e.) during development? i guess one would still need some sort of integration test on top of that to make sure there is no disconnect between the two parts...

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,464+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.