Permalink
Browse files

Count assertions.

Fixes #27.
  • Loading branch information...
1 parent f5ffd83 commit a6c113b0a26db82f87be5ec6a4def2c9d4303fa4 Alexander Kern committed Aug 2, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/minitest/reporter_runner.rb
@@ -37,6 +37,8 @@ def before_test(suite, test)
end
def record(suite, test, assertions, time, exception)
+ self.assertion_count += assertions
+
result = case exception
when nil then :pass
when Skip then :skip

0 comments on commit a6c113b

Please sign in to comment.