by Gigachad · 4y ago · 0 comments
At an early stage startup with a small app it might not be as big a problem, but where I'm at right now the app is over 10 years old and our test suite with many many parallel workers is still well over an hour cycle time to get that sanity feedback on a commit, and it's painful.
The benefit is that the tests highlight what changed in the app. So when you update a library and 1+1 changes, it’s an alarm bell to investigate further because you didn’t expect this to happen.
Test_OnePlusOneEqualsTwo()
is not as useful as
Test_CanAddTwoNumbersTogether()
Test for behaviour, not implementation.