fnando/test_notifier — Issue #15: MiniTest Runner - Errors are not reported
Author: noonie2k
Created: 2012-02-14 18:12:18+00:00
State: open

I am running Test_Notifier 1.0.0 with MiniTest 2.11.1 and noticed that errors are not reported in the notification.
The issue seems to be in the test_notifier/runner/minitest.rb file and the fix that works for me is...

```diff
diff --git a/lib/test_notifier/runner/minitest.rb b/lib/test_notifier/runner/minitest.rb
index a31077c..7de39ee 100644
--- a/lib/test_notifier/runner/minitest.rb
+++ b/lib/test_notifier/runner/minitest.rb
@@ -8,7 +8,7 @@ MiniTest::Unit.after_tests do
:count => runner.test_count,
:assertions => runner.assertion_count,
:failures => runner.failures,
- :errors => runner.skips
+ :errors => runner.errors
})

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

I'm new to GitHub and am not sure of the process of submitting a fix!

Cheers,
Adam