How to measure execution time of a cucumber step
Asked Answered
H

2

12

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.

Herrmann answered 31/8, 2011 at 8:11 Comment(0)
D
16
cucumber --format usage

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

Durward answered 31/8, 2011 at 11:52 Comment(0)
R
0
"-Dcucumber.options= -p usage"

This sorts the Step Definitions by their average execution time.

Ramble answered 7/1, 2020 at 9:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.