Sha256: 3aeae6dc6dd9e6ae4c452096bd3bdc6ed4ac3bb86fcd2e285b65a280cbaae41e

Contents?: true

Size: 254 Bytes

Versions: 2

Compression:

Stored size: 254 Bytes

Contents

require 'test_notifier'

Autotest.add_hook :ran_command do |at|
  begin
    content = at.results.to_s
  
    TestNotifier.rspec?(content) ? TestNotifier.notification_for_rspec(content) : TestNotifier.notification_for_test_unit(content)
  rescue
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
test_notifier-0.0.8 lib/test_notifier/autotest.rb
test_notifier-0.0.9 lib/test_notifier/autotest.rb