4 ms·
I have worked professionally with Rails since just after 1.0, on applications of every size. The number of cases where applications sanely used features of rsp
by stouset 3y ago
I have worked professionally with Rails since just after 1.0, on applications of every size.
The number of cases where applications sanely used features of rspec that couldn’t have been done equivalently and just as easily (and significantly less confusingly) with minitest-based tests are few and far between. And these are easily outnumbered 20:1 by insanely bad test suites that abuse rspec and thoroughly mock everything in their tests, resulting in tests that a) are so brittle they fail on any non-trivial refactor, and b) couldn’t possibly preemptively catch buggy behavior.
I have quite literally never worked on a Rails application that used minitest and which was forced to abandon it due to unmet needs.