How to write reliable end-to-end tests: 1


How to write reliable end-to-end tests:

1. Use a DB with a static dataset.

2. If 1 isn’t possible, “smoke test”. Don’t assert specific data exists. Instead, check that features appear to generally work. Look for general signs like a message or header.

3. Set high timeouts.

View original on X