Sha256: df98e98e7c300e453557eba8b06e9ca4cae74c77d6865eaaf8175b4be8a8a9bc

Contents?: true

Size: 437 Bytes

Versions: 1

Compression:

Stored size: 437 Bytes

Contents

require 'test_notifier'
require 'test/unit/ui/console/testrunner'

module Test
  module Unit
    module UI
      module Console
        class TestRunner
          alias finished_original finished
          
          def finished(elapsed_time)
            finished_original(elapsed_time)
            content = @result.to_s
            TestNotifier.notification_for_test_unit(content)
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test_notifier-0.0.7 lib/test_notifier/test_unit.rb