My unit/models specs run in a couple seconds, but my integration/feature
specs take minutes.
I'd like to always run the fast specs before the slow specs.
I try some test cases:
rspec models/spec1_spec.rb features/spec2_spec.rb
rspec features/spec2_spec.rb models/spec1_spec.rb
and discover that the features always run before the models.
It seems that rspec sorts the specs by path name before running.
Is there any way to force Rspec to run my model specs before the feature
specs?
--
You received this message because you are subscribed to the Google Groups
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rspec/ca9aed82-e740-4c62-9a97-a870b02f1734%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.