문제

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.

도움이 되었습니까?

해결책

cucumber --format usage

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

다른 팁

"-Dcucumber.options= -p usage"

This sorts the Step Definitions by their average execution time.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top