From 5e19b81c8e3e8869b180109fa899425ee4d0d364 Mon Sep 17 00:00:00 2001 From: Jordon Bedwell Date: Tue, 17 Sep 2013 03:21:26 -0500 Subject: [PATCH] Add support for MiniTest. --- lib/simplecov/command_guesser.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/simplecov/command_guesser.rb b/lib/simplecov/command_guesser.rb index 03c55068..eba357a7 100644 --- a/lib/simplecov/command_guesser.rb +++ b/lib/simplecov/command_guesser.rb @@ -48,6 +48,8 @@ def from_defined_constants "RSpec" elsif defined?(Test::Unit) "Unit Tests" + elsif defined?(MiniTest) + "MiniTest" else # TODO: Provide link to docs/wiki article warn "SimpleCov failed to recognize the test framework and/or suite used. Please specify manually using SimpleCov.command_name 'Unit Tests'."