Embed presentation
Download as PDF, PPTX
































This document discusses how to test Rails applications using different types of tests. It recommends starting with feature specs to test user flows which are slow but test the full stack. It also recommends using model specs to test models in isolation which are fast. Controller specs test controller actions and should avoid duplicating feature tests. View specs test view logic. Test doubles, stubs, and spies can be used to isolate parts of the app for faster testing.






























