I spike a lot (i.e., write code without tests) until I have an elegant design figured out. Strict TDD would then have you scrap that solution and re-write it with tests, but you may just want to test after instead. If youβre doing it that way you have to be very critical as you comb through your existing solution for untested behavior. (Thatβs one occasion when a locally-run code coverage tool is useful).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I spike a lot (i.e., write code without tests) until I have an elegant design figured out. Strict TDD would then have you scrap that solution and re-write it with tests, but you may just want to test after instead. If youβre doing it that way you have to be very critical as you comb through your existing solution for untested behavior. (Thatβs one occasion when a locally-run code coverage tool is useful).