blob: 449c7d27ae55b3c29ce1f4e8dd9d45f35e8e7207 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/usr/bin/env ruby
# coding: utf-8
require 'simplecov'
if ENV['CODECLIMATE_REPO_TOKEN']
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
end
# Compatibility module for StringIO, File
# and Tempfile. Necessary for some tests.
require "io_console_compatible"
require 'highline'
debug_message = "Tests will be run under:\n"
debug_message << " - #{HighLine.new.terminal.class}\n"
debug_message << " - HighLine::VERSION #{HighLine::VERSION}\n"
if defined? RUBY_DESCRIPTION
debug_message << " - #{RUBY_DESCRIPTION}\n"
end
puts debug_message
require "minitest/autorun"
|