Assessing a unit test written after a bug is fixed
When fixing bugs I usually try to reproduce the bug with a failing unit test before fixing it, assuming the bug is within some code that can be covered by unit tests. However, occasionally I implement the fix before a test is in place, usually when I...
Mar 6, 20251 min read4
