Skip to content

Commit

Permalink
Proof of concept
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Byron committed Jul 27, 2011
1 parent 2391ac3 commit f4a9de4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/test_notifier/runner/minitest.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
require "test_notifier"
require "minitest/unit"

MiniTest::Unit.after_tests do
stats = TestNotifier::Stats.new(:test_unit, {
:count => 111,
:assertions => 222,
:failures => 333,
:errors => 444
})

TestNotifier.notify(:status => stats.status, :message => stats.message)
end

0 comments on commit f4a9de4

Please sign in to comment.