4 ms·
Fixtures are great for integration tests. But I agree that unit tests needing fixtures indicates a design issue. Still, most of us work on code bases with desi
by onionisafruit 11mo ago
Fixtures are great for integration tests. But I agree that unit tests needing fixtures indicates a design issue.
Still, most of us work on code bases
with design issues either of our own making or somebody else’s.
- matsemann 10mo agoYup, so I'm not against fixtures per se, they have their uses and can be a pragmatic choice. I just often don't like when I have to use them, as it's often to patch over something else. But things are never perfect.