3 ms·
> At least for web applications, all end to end test suites are slow and flaky. Then you should be asking why are they flaky in the test environment? Its proba
by sumedh 5y ago
> At least for web applications, all end to end test suites are slow and flaky.
Then you should be asking why are they flaky in the test environment? Its probably because your services are running on very slow servers.
- amw-zero 5y agoNo, it’s because end to end tests are non-deterministic with respect to execution time. They are deterministic only in their discrete states. This is why all end to end testing involves polling to wait for asynchronous operations to complete, which is by definition non-deterministic.
- sumedh 5y agoNo not really, what you are saying is that you dont how long a test will take to complete, it can take 1 min or it can take 1 hour. If it sometimes takes 1 hour then you have to put on your detective hat and go look in the logs to see which service is slowing the e2e flow.