hooks.rb 257 Bytes
Before do |scenario|
  # The +scenario+ argument is optional, but if you use it, you can get the title,
  # description, or name (title + description) of the scenario that is about to be
  # executed.
  STDOUT.puts "Starting scenario: #{scenario.name}"
end