[rspec-users] Thought on a quality metric for Cucumber test suites

Matt Wynne matt at mattwynne.net
Thu Apr 2 18:22:15 EDT 2009


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





More information about the rspec-users mailing list