Hi, I'm using the focus tag rather often since we ditched mocking entirely and went for slower semi-integration specs instead. This practice has served us well so far, and to speed up running specs we use the focus tag. However with 700+ specs we noticed that focusing on a single spec has become rather slow. Any ideas how to profile or even fix that? On an unrelated note: I'm not at all happy with the general overhead, but am aware that it's probably due to how we write specs.
$ time rspec spec/models/user_spec.rb:43 Finished in 1.27 seconds 1 example, 0 failures real 0m13.913s user 0m11.745s sys 0m1.644s vs a single spec with focus: true (usually run by guard): $ time rspec spec Finished in 1.21 seconds 1 example, 0 failures real 0m47.475s user 0m34.761s sys 0m12.317s Versions: OS X 10.7.4 rspec-rails (2.10.1) ruby 1.9.3p233 -- You received this message because you are subscribed to the Google Groups "rspec" group. To view this discussion on the web visit https://groups.google.com/d/msg/rspec/-/ULOUO2g5RRgJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rspec?hl=en.
