Regression testing Whenever you find a bug – Reproduce it (before you fix it!) – Store input that elicited that bug – Store correct output – Put into test.