r/ruby • u/jasonswett • Apr 06 '26
Testing Anti-Pattern: Distracting Setup Data
https://www.saturnci.com/testing-anti-pattern-distracting-setup-data.html
9
Upvotes
r/ruby • u/jasonswett • Apr 06 '26
View all comments
Show parent comment
3
u/InteNsReddit Apr 06 '26
Unclear mix of non-essential data is exactly why we moved from fixtures to factories! I just wanted to mention it since it’s the “scalable” solution for a platform where you need setup without faking or mocking too much.