Andrew's Digital Garden

Making tests before debugging

Make a failing test before fixing code.

You want to make the issue reproducible, ideally, automatically reproducible. Writing a failing test for a bug not only helps you know when it's fixed, it gains insight on the bug and how to fix it.

[[debugging]] [[testing]]

Making tests before debugging