Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby 如何度量cumber步骤的执行时间_Ruby_Cucumber_Measure - Fatal编程技术网

Ruby 如何度量cumber步骤的执行时间

Ruby 如何度量cumber步骤的执行时间,ruby,cucumber,measure,Ruby,Cucumber,Measure,我正在寻找一种方法来衡量我的黄瓜步骤的执行时间。使用junit格式,我设法获得了一些关于功能和场景执行时间的数据,但我也想看看场景中的步骤时间 cucumber --format usage “打印使用步骤定义的位置。首先列出最慢的步骤定义(带持续时间)。” 这将根据步骤定义的平均执行时间对其进行排序 "-Dcucumber.options= -p usage"

我正在寻找一种方法来衡量我的黄瓜步骤的执行时间。使用junit格式,我设法获得了一些关于功能和场景执行时间的数据,但我也想看看场景中的步骤时间

cucumber --format usage
“打印使用步骤定义的位置。首先列出最慢的步骤定义(带持续时间)。”

这将根据步骤定义的平均执行时间对其进行排序

"-Dcucumber.options= -p usage"