Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找一种方法来测量我的黄瓜步骤的执行时间。使用该junit格式,我设法获得了一些有关功能和场景执行时间的数据,但我也想查看场景中步骤的时间。
junit
cucumber --format usage
“使用步骤定义的打印。最慢的步骤定义(带持续时间)首先列出。”
"-Dcucumber.options= -p usage"
这会按平均执行时间对步骤定义进行排序。