开发者

How to measure execution time of a cucumber step

开发者 https://www.devze.com 2023-04-01 09:18 出处:网络
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 e开发者_如何学运维xecution time of the features and scenarios, bu

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 e开发者_如何学运维xecution 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消