Created
April 11, 2016 11:39
-
-
Save britishtea/3c29e26e3d5043d0b8d04c4d83b3333f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "simplecov" | |
SimpleCov.command_name "unit:#{Process.pid}" | |
SimpleCov.at_exit do | |
orig, $stdout = $stdout, File.open("/dev/null", "w") | |
SimpleCov.result.format! | |
$stdout, orig = orig, nil | |
end | |
SimpleCov.start | |
$:.unshift File.expand_path("../../", __FILE__) | |
require "cutest" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment