TechWorkRamblings

by Mike Kalvas

202312091534 Write a failing test for bugs

#new

Before fixing a bug, we should write a failing test so that the bug can't be reintroduced later.

This is common collective wisdom, but mentioned specifically in 202307241042 The Pragmatic Programmer1


  1. Thomas, D., & Hunt, A. (2019). The pragmatic programmer, 20th anniversary edition: Journey to mastery (Second edition) (pp. 91). Addison-Wesley.