Hi David, this is not exactly what you're asking, but on this demo
we've got an example on how to tag scenarios to handle them in
different ways. In this case we wanted to run the ones marked with :js
=> true on Selenium, so using a helper we specify a change of the
driver with before and after.
Look at the readme, where it talks about Selenium and javascript.rb
Not exactly tags, just talking about a way to specify options on scenarios.
I'm not sure if this is released or just in rspec edge, but there's a new --tag option for the `rspec` command line that adds the functionality that you're asking for.You can investigate further here [1] or ask in the rspec mailing list.
On Fri, Dec 17, 2010 at 5:01 PM, Luismi Cavallé <lmca...@gmail.com> wrote:I'm not sure if this is released or just in rspec edge, but there's a new --tag option for the `rspec` command line that adds the functionality that you're asking for.You can investigate further here [1] or ask in the rspec mailing list.Thanks, that's going to be very useful!