Cucumber formatter that generates stats on all steps that are used during testing.
-
Add
gem 'step-stats'to yourGemfile -
Do
bundle install
-
By adding
--format StepStats::Formatterto yourcucumber.ymlfile. -
Or, use it directly when running cucumber with the option
--format StepStats::Formatter.
The result is an HTML file which is saved in tmp/step_stats.html