每步的rspec运行时

时间:2014-11-06 15:50:21

标签: ruby-on-rails ruby rspec continuous-integration rspec-rails

是否可以让rspec为场景的每个步骤输出运行时?即

Given I successfully authenticate
  > 50ms
And I create a valid request
  > 10ms

更进一步,是否可以记录并输出步骤的每个层(客户端/服务器)的运行时间?即

 Given I successfully authenticate
  > Client: 10ms
  > Server: 40ms 

0 个答案:

没有答案