News for hackers. Stuff that matters.
Re:What if writing tests was a joyful experience? by ricardobeat on Thursday January 12, 2023 @07:02AM (#34352271)
That’s a big assumption. In TDD you write the tests first, to help you achieve the results expected, this doesn’t fulfill that need. It is basically snapshot testing applied to any kind of function.
Re:What if writing tests was a joyful experience? by wmanley on Thursday January 12, 2023 @10:04AM (#34354498)
I am of the opinion that the true value of TDD is that tests get written at all. I suspect that in practice the tests tend to get written at roughly the same time as the code, rather than strictly before.