PLAY PODCASTS
What's with these flaky tests?
Episode 4

What's with these flaky tests?

No Compromises

September 1, 202015m 11s

Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

Croissants are great because they're flaky, but no one likes a flaky test. We share some strategies on how to make your tests more reliable.

  • 00:00 Flaky tests are the worst
  • 02:12 Why randomization can lead to flaky tests
  • 03:10 A guideline on when to avoid randomization
  • 05:10 Trying to predict the future?
  • 06:15 Naming can be a guide
  • 07:15 Use factory states
  • 08:00 Another type of flaky test
  • 11:15 Silly bit

Topics

testinglaravel