On Tue, Mar 31, 2009 at 2:06 PM, Kevin O. [email protected]
Is there a simple way to find out what file a scenario is defined in?
No, but there is a dirty way:
Before do |scenario|
f = scenario.instance_variable_get(’@feature’)
The scenario variable will be a Scnario, ScenarioOutline or ExampleCells
instance. In the latter case there is no @feature ivar.
Please file a feature request (or better yet - a patch) if you want to
Also take a look at this ticket - maybe a cleaner way to achieve what