[rspec-users] A recently observed anti pattern: commented out tests

James Cox james at imaj.es
Mon Jul 23 16:19:58 UTC 2012


Hey,

in a bunch of the rescues i've recently done, I see a pretty big anti
pattern: tests don't work, and so rather than making them work, the
dev team just comments them out till 'later'.

Does anyone think it'd be useful/interesting to get a flag for rspec
which would compare lines vs lines-commented, and if the percentage
was higher than xx, it'd issue some kind of warning?

Best,
james


More information about the rspec-users mailing list