Wats0ns@sh.itjust.works to Programmer Humor@programming.dev · 1 year agoInm looking at you Typescript devsh.itjust.worksimagemessage-square50fedilinkarrow-up1506arrow-down111
arrow-up1495arrow-down1imageInm looking at you Typescript devsh.itjust.worksWats0ns@sh.itjust.works to Programmer Humor@programming.dev · 1 year agomessage-square50fedilink
minus-squareOsrsNeedsF2P@lemmy.mllinkfedilinkarrow-up2arrow-down3·1 year agoSerious answer: You can’t write tests for untestable code. Your code needs to be pure if you want reliable tests: https://en.m.wikipedia.org/wiki/Pure_function For integration tests, they should handle retries themselves
Serious answer: You can’t write tests for untestable code. Your code needs to be pure if you want reliable tests: https://en.m.wikipedia.org/wiki/Pure_function
For integration tests, they should handle retries themselves