Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to measure execution time of a cucumber step

I'm looking for a way to measure the execution time of my cucumber steps. Using the junit format I managed to get some data about the execution time of the features and scenarios, but I would like to see the times of the steps inside the scenarios as well.

like image 488
Zsolt Avatar asked Aug 31 '11 08:08

Zsolt


1 Answers

cucumber --format usage

"Prints where step definitions are used. The slowest step definitions (with duration) are listed first."

like image 135
Andy Waite Avatar answered Sep 17 '22 19:09

Andy Waite