Writing another post to Zach I had a thought about a quality metric for Cucumber suites: Ratio of #steps executed / #step matchers

For example, if you can run 100 steps with only 10 step matchers, you have a nice low ratio of 100 / 10, meaning you are getting loads of testing done with only a few step matchers to maintain.

WDYT?

Is there a way to pull out the stat of the number of step matchers defined?

Matt Wynne
http://beta.songkick.com
http://blog.mattwynne.net



_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to