←back to thread

Delete tests

(andre.arko.net)
125 points mooreds | 1 comments | | HN request time: 0.263s | source
Show context
vitonsky ◴[] No.45072400[source]
No, thanks. I already spent time to write tests while implementing a features, now I have a lot of tests that proof the feature is works fine, and I no more fear to make changes, because tests keep me safe of regression bugs.

The typical problems of any code base with no tests is a regression bugs, rigid team (because they must keep in mind all cases when code may destroy everything), fear driven development (because even team with zero rotation factor don't actually remember all problems they've fixed).

replies(1): >>45072478 #
willio58 ◴[] No.45072478[source]
Did you read the article?

What is your answer to the points the author makes around flaky tests/changing business requirements/too many tests confirming the same functionality and taking too long to run?

replies(3): >>45072603 #>>45072615 #>>45072625 #
1. ikari_pl ◴[] No.45072625[source]
I think the point of article is to delete the BAD tests.

Just like you need to delete the bad code, not all the code. ;)