Ask HN: What's the best way to protect against regressions?

  • IMHO the key to avoid regressions is to have automated tests and to update tests for every bug and bug fix.

    To detect bugs early means to test early, that is, to invest in unit and integration tests.