News for hackers. Stuff that matters.
Re:I have complicated feelings about TDD by imran-iq on Thursday August 18, 2022 @11:58AM (#32511377)
That's the right way to do TDD, see this talk: https://www.youtube.com/watch?v=EZ05e7EMOLM

One of the above comments mentions BDD as a close cousin to TDD, but that is wrong as TDD is actually BDD as you should only be testing behaviours, which allow you to "fearlessly refactor"

Re:I have complicated feelings about TDD by bcrosby95 on Thursday August 18, 2022 @12:46PM (#32512008)
Behavior is an unfortunate term, because the "London Style" TDD sometimes is described as testing behaviors:

https://softwareengineering.stackexchange.com/questions/1236...

Which seems like the exact opposite of what the talk is saying you should do.