[英]How long does each test take to run in Ruby on Rails?
Is there a way to get a report of how long each test is taking to run on a Ruby on Rails project? 有没有一种方法可以报告每个测试在Ruby on Rails项目上花费多长时间? I have aa small set of tests, 2 or 3, which take about 50% of the time and I'd like to find out which ones are.
我有少量的测试,即2或3个测试,大约需要50%的时间,我想找出是哪个。
Ideas of the top of my mind: 我最高思想的想法:
--format profile
will give you the top 10 slowest tests --format profile
将为您提供最慢的10个测试
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.