3 ms·
>It will hurt when your end-to-end tests (minus UI) must be run per check-in and as your code gets bigger. > >Some companies invest in huge infrastructure to sp
by crdoconnor 11y ago
>It will hurt when your end-to-end tests (minus UI) must be run per check-in and as your code gets bigger.
>
>Some companies invest in huge infrastructure to speed things up (paralleling until you can't...) but in that situation, suddenly Devs can no longer build locally without biting their tongue.
That's why you pick a few smoke tests to run before checking the code in and let the full regression test suite run while you're doing other stuff.
>Setting up end-to-end test "per test-case" is also tedious (should user be logged-in in order for this test-case to run? what should be the state before the tests are run and what should be the state after the tests are run? what if the state of the system have the expected _and_ more e.g.: side-effect?)
You need a decent integration testing framework to help here.