Hi,

I have an idea for a tool I want to build. In a Cucumber Before() block, I can 
say:

Before do |scenario|
  puts scenario.file_colon_line
end

That then gives me the information I'd need to run that test case (and only 
that test case) again.

Is there any way (however hacky / brittle) to do something similar in an RSpec 
before block, or do I need to delve into writing a formatter?

cheers,
Matt

m...@mattwynne.net
07974 430184

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to