4 ms·
Not a fan of the concept of TDD as is, but I have adopted it as the approach to bug fixing. Usually I start with reproducing the bug in specs, with at least on
by surds 7y ago
Not a fan of the concept of TDD as is, but I have adopted it as the approach to bug fixing.
Usually I start with reproducing the bug in specs, with at least one or more specs failing due to the bug. Then I go on to fix the bug and see the specs turn green. I think TDD is pretty well suited for the use case.