3 ms·
This makes sense when the cost of running the integration tests is high due to real hardware being in the loop. But for most business software this isn't the ca
by t0mas88 2y ago
This makes sense when the cost of running the integration tests is high due to real hardware being in the loop. But for most business software this isn't the case and e2e tests aren't actually costly.
Looking at a previous project we ran full e2e tests from an end user perspective in three major browsers in less than 15 minutes at a cloud cost of only a few hundred dollars per month. Compared to the cost of developers on the project that was a negligible amount.
Adding more unit tests would make the feedback cycle shorter on some changes, but also add development time to create and maintain those tests. So in line with the article we did so only sparingly on a few critical paths that were likely to cause issues. The rest was well covered by e2e tests.
- sarchertech 2y agoe2e tests that run in 15 minutes in the cloud are useless for TDD though which is what the article is talking about.