3 ms·
Yes. When doing UI code (with something like React) it's next to impossible to do TDD - you can't know the structure until you actually implement it. If I'm f
by madeofpalk 10y ago
Yes.
When doing UI code (with something like React) it's next to impossible to do TDD - you can't know the structure until you actually implement it.
If I'm fixing a bug in some sort of non-ui code, I often find TDD to be very helpful. Create a test case that demonstrates that failure, then fix the implementation to make the test pass.
- Udik 10y agoI'm not sure that testing a bug, even before writing the code that fixes it, qualifies as TDD.