gd, to ruby
@gd@ruby.social avatar

It's so annoying to see developers calling failing tests "flaky".

Last week I found a factory that assigned a random age to a user instance, so no wonder a test that used the age in some bit of logic failed sometimes. That's not a "flaky test", that's a bug in the factory.

Today I saw a date parser bug be called a "flaky test". It was written on the 21st of April and worked fine until it began to fail today, the 1st of May.

gd,
@gd@ruby.social avatar

"Flaky test" makes it sound like RSpec is at fault when it's almost always buggy code, or random factory data.

gd, to ruby
@gd@ruby.social avatar

My new book "Hands-on Test-Driven Development" has been published: https://hands-on-tdd.com/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • Durango
  • megavids
  • InstantRegret
  • cubers
  • GTA5RPClips
  • cisconetworking
  • ethstaker
  • osvaldo12
  • modclub
  • normalnudes
  • provamag3
  • tester
  • anitta
  • Leos
  • lostlight
  • All magazines