3 ms·
> If you maintain speed and strict curation of such a suite This seems to be the hard part. Any tips for maintaining speed and strict curation, especially at s
by ahuth 5y ago
> If you maintain speed and strict curation of such a suite
This seems to be the hard part. Any tips for maintaining speed and strict curation, especially at scale (in terms of developers)?
At the very least, it seems that E2E tests are a tool that's easy to misuse. Not sure of the best way to mistake-proof it.
- Too 5y agoAutomatic linter completely banning sleep(). Present reasonable alternative functions instead, like untilServiceAvailable. Sounds silly and obvious but look into your test suite and i'm sure you will find sleep everywhere. Majority of all flaky tests are due to miscalculated sleeps in my experience. Sleep is also the biggest contributor to slow runs, with longer and longer sleeps being used to combat the flakiness. Both factors being the biggest pain points of E2E tests.