|
|
|
|
|
by seanwilson
523 days ago
|
|
I don't think this is always worth it. Some tests can be time consuming or complex to write, have to be maintained, and we accept that a test suite won't be testing all edge cases anyway. A bug that made it to production can mean that particular bug might happen again, but it could be a silly mistake and no more likely to happen again than 100s of other potential silly mistakes. It depends, and writing tests isn't free. |
|
Writing tests isn't free, I agree, but in this case a good chunk of the cost of writing them will have already been paid in a way.