Ask A Question


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...

Join the discussion
Create an account Log in

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

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

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