Login
Roast topics
Find topics
Find it!
From:
Understand Legacy Code
(Uncensored)
subscribe
A quick way to add tests when code has database or HTTP calls
https://understandlegacycode.com/blog/quick-way-to-add-tests-when-code-does-side-effects/
links
backlinks
Roast topics
Find topics
Roast it!
You need to fix a bug, but you can't spend a week on it? Here's a technique to isolate problematic side-effects and write tests within minutes.