Something in the latest iteration of spork, guard, or rspec now causes
all examples to be run, not just tagged examples (say, with :focus =>
true). This was posted as an issue for rspec:
rspec does limit the run to tagged examples. So this doesn’t appear to
be an rspec issue per se.
I’ve tried to poke in the guts of spork and guard looking for clues,
but I’m clueless. Any ideas about which gem is at fault so that an
issue can be filed in the right place at github and asked in the right
Google group?
Here’s the configuration where this behavior occurs (with Rails
3.1.3):
Something in the latest iteration of spork, guard, or rspec now causes
all examples to be run, not just tagged examples (say, with :focus =>
true).
Hmm…looks like this is a spork vs rspec problem; the behavior occurs
without involving guard:
rspec run alone limits test execution to examples tagged with :focus
rspec run within spork ignores the :focus tag and runs all examples
It appears that the last update to spork was last November, whereas
rspec was updated a few days ago. So whatever is going on isn’t due to
a new change in spork but rather a new spork incompatibility with
rspec that presumably will need a fix in spork.