Re:Ask HN: What did you learn the hard way?
by catwind7 on Wednesday October 03, 2018 @04:02PM
(#18134292)
That end to end tests for critical business functions will save your ass the moment you, your team, or your test suite fails to spot a bug.
I once added a line of code that did not execute in test environments because it involved a request to hosts that were only available on staging and production. So the tests were obviously fine but shit went south in production.
I once added a line of code that did not execute in test environments because it involved a request to hosts that were only available on staging and production. So the tests were obviously fine but shit went south in production.