Sha256: 81c7c9f0ec080b8f0d3b2d9923bfeacc83e84da3f95f52ab81fb367daaa5e748
Contents?: true
Size: 549 Bytes
Versions: 3
Compression:
Stored size: 549 Bytes
Contents
begin require 'guard/minitest/notifier' rescue LoadError puts "You need guard-minitest to use this reporter" exit 1 end module MiniTest module Reporters class GuardReporter include MiniTest::Reporter def after_suites(*args) duration = Time.now - runner.start_time ::Guard::MinitestNotifier.notify(runner.test_count, runner.assertion_count, runner.failures, runner.errors, runner.skips, duration) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems