Erratic tests are tests which will fail intermittently. These are some of the most frustrating issues you can have with a test suite, and perhaps more importantly, they can undermine your trust in the test suite.
- Database contamination
- Caching
- Global state
- Time and Timezones
- Race conditions in javascript feature specs