← Graph

Rails Tests Are Mostly Integration Tests

takeaway 2 connections

Typical Rails applications are glorified points of interaction with a database, so the idealized test pyramid (mostly unit tests) doesn't apply. Most real Rails tests are integration tests because they have to hit the database to exercise logic — embrace that rather than fighting to unit-test what Active Record is doing.

type
insight
takeaway Rails Tests Are Mostly Integration Tests
about
Test Pyramid concept
Claims the pyramid doesn't fit typical Rails apps.
takeaway Rails Tests Are Mostly Integration Tests
from_talk
Opening framing argument.

Provenance

Read by
5 extractions