Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 168c579

Browse files
committed
colorful tests
1 parent 1da1e43 commit 168c579

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

Gemfile

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
1-
# A sample Gemfile
21
source "https://rubygems.org"
32

4-
# gem "rails"
53
gemspec
64

75
group :development do
86
gem 'rake'
97
gem 'jeweler'
10-
end
11-
12-
group :development, :test do
138
gem 'pry'
14-
gem 'mocha', :require => false
15-
gem 'activesupport', '>= 3.0.0', '< 4.0.0', :require => "active_support/all"
9+
gem 'mocha'
10+
gem 'activesupport', '>= 3.0.0', '< 4.0.0'
1611
gem 'tzinfo'
1712
gem 'i18n'
18-
gem 'minitest', :require => 'minitest/autorun'
13+
gem 'minitest'
14+
gem 'minitest-rg'
1915
end

Rakefile

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ end
2121
task :test do
2222
failed = Dir["test/*_test.rb"].map do |test|
2323
command = "ruby #{test}"
24+
puts
2425
puts command
2526
command unless system(command)
2627
end.compact

test/test_helper.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
require 'bundler/setup'
22
require 'minitest/autorun'
3+
require 'minitest/rg'
34

45
$VERBOSE = true # enable ruby warnings
56

0 commit comments

Comments
 (0)