Class: NotifyOSDCucumberFormatter

Inherits:
Cucumber::Formatter::Pretty
  • Object
show all
Defined in:
lib/adapters/cucumber.rb

Instance Method Summary collapse

Instance Method Details

#exception(exception, status) ⇒ Object



27
28
29
30
# File 'lib/adapters/cucumber.rb', line 27

def exception(exception, status)
  super(exception, status)
  `notify-send "Cucumber: #{exception.class}", "#{exception.message.gsub(/("|`)/, "'")}"`
end