http://blog.davidchelimsky.net/2011/11/06/rspec-28... See the blog post for more information, but highlights include: 1. 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 2. --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 3. 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-28.... Please give it a read, give rspec-2.8.0.rc1 a try, and report any issues to: * https://github.com/rspec/rspec-core/issues * https://github.com/rspec/rspec-expectations/issues * https://github.com/rspec/rspec-mocks/issues * https://github.com/rspec/rspec-rails/issues Thanks! David
on 2011-11-07 00:27
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.