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

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

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

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

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2023 GoRails, LLC. All rights reserved.