http://blog.davidchelimsky.net/2011/11/06/rspec-280rc1-is-released/
See the blog post for more information, but highlights include:
- tag overrides
Now you can set tag/filter defaults in .rspec:
–tag ~javascript
or in RSpec.configure (in spec_helper.rb):
RSpec.configure {|c| c.filter_run_excluding :javascript}
and then override that from the command line when you want to run the
javascript specs:
rspec --tag javascript
- –order rand
Courtesy of Justin Ko, this addition allows you to run examples in
random order. To make that your default, we recommend putting this in
.rspec:
–order rand
Then you can override it from the command line like this:
rspec --order default
Or you specify a seed in two ways:
rspec --order rand:1234
rspec --seed 1234
- speed improvements in rspec-expectations
YMMV, but all of the built-in matchers have been reimplemented as
classes (they were previously generated using the DSL, which interprets
a lot of code at invocation time).
There’s more info at
http://blog.davidchelimsky.net/2011/11/06/rspec-280rc1-is-released/.
Please give it a read, give rspec-2.8.0.rc1 a try, and report any issues
to:
- Issues · rspec/rspec-core · GitHub
- Issues · rspec/rspec-expectations · GitHub
- Issues · rspec/rspec-mocks · GitHub
- Issues · rspec/rspec-rails · GitHub
Thanks!
David