Rspec非常慢,一个文件需要4秒才能执行

时间:2014-11-17 05:40:24

标签: ruby-on-rails rspec

我正在使用spring (1.1.3)Rails 4.1.6

但是你可以看到,执行时间真的很慢?

如何描述瓶颈?感谢

% bundle exec bin/rspec spec/models/tool/cvt/streaming_verification_spec.rb
.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/mime_type.rb:163: warning: already initialized constant Mime::PDF
.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.6/lib/action_dispatch/http/mime_type.rb:163: warning: previous definition of PDF was here
"show combination"
.

Finished in 0.00119 seconds (files took 4.42 seconds to load)
1 example, 0 failures

关于rspec的宝石

  * guard-rspec (4.3.1)
  * rspec (3.1.0)
  * rspec-core (3.1.5)
  * rspec-expectations (3.1.2)
  * rspec-mocks (3.1.2)
  * rspec-rails (3.1.0)
  * rspec-support (3.1.1)

0 个答案:

没有答案