Login
From:
jacobtomlinson.dev
(Uncensored)
subscribe
Avoid indirection in tests at all costs - Jacob Tomlinson
https://jacobtomlinson.dev/posts/2023/avoid-indirection-in-tests-at-all-costs/
links
backlinks
Roast topics
Find topics
Find it!
When writing tests the balance between avoiding indirection and DRY-ness should be much more weighted towards avoiding indirection than in the code it is testing.