3 ms·
This is a false dichotomy. The alternatives aren't having no tests having a half an hour test suite. As you say, 95% of every scenario is exactly the same, whi
by marginalia_nu 4y ago
This is a false dichotomy. The alternatives aren't having no tests having a half an hour test suite.
As you say, 95% of every scenario is exactly the same, which I think is relatively common in this type of code base. The ideal test time is thus 90 seconds instead of 30 minutes. Maybe that unattainable, but I wager there exists a test suite that has the same coverage but with significantly less redundancy.
Test engineering is actually hard. If testing is just some afterthought primarily aimed at coverage with not much consideration put toward performance, what you typically get is redundant tests with abysmal run-times.