No commit activity in last 3 years
No release in over 3 years
A way to profile the performance of your cucumber features
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.2.1
 Project Readme

cucumber-profiler

Currently tested against cucumber-1.2.1. Is known not to be compatible with some older versions.

A way to profile the performance of your cucumber features.

The profiler groups your cucumber tests by feature. Within a feature, the profiler times each scenario and calculates the mean and standard deviation. Each scenario that is two or more standard deviations above the mean is listed.

Installation

1. Put the profiler in your Gemfile

gem cucumber-profiler

2. Use the format flag to use the formatter

cucumber --format Cucumber::Formatter::Profiler features

Alternatively, you can make the profiler your default format by putting the following your cucumber.yml file:

default: --format Cucumber::Formatter::Profiler

If you use Timecop: If you use the timecop gem to freeze or change time be sure to also return the
time after each of your tests. Not doing so will make it appear as if your tests are taking either
far too long or have taken negative time to complete.

Copyright

Copyright © 2012 Michael Blumberg.