Skip to content

Commit

Permalink
Add support for colouring test output
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchwd committed Jun 2, 2019
1 parent 624fe7a commit 307b814
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions ruby/Gemfile
Expand Up @@ -2,5 +2,6 @@ source 'https://rubygems.org'
group :development, :test do
gem 'guard'
gem 'guard-minitest'
gem 'minitest-rg'
gem 'rb-readline'
end
3 changes: 3 additions & 0 deletions ruby/Gemfile.lock
Expand Up @@ -24,6 +24,8 @@ GEM
lumberjack (1.0.13)
method_source (0.9.2)
minitest (5.11.3)
minitest-rg (5.2.0)
minitest (~> 5.0)
nenv (0.3.0)
notiffany (0.1.1)
nenv (~> 0.1)
Expand All @@ -45,6 +47,7 @@ PLATFORMS
DEPENDENCIES
guard
guard-minitest
minitest-rg
rb-readline

BUNDLED WITH
Expand Down
2 changes: 1 addition & 1 deletion ruby/Guardfile
@@ -1,4 +1,4 @@
guard :minitest, test_folders: '.', test_file_patterns: '*_test.rb' do
guard :minitest, cli: '--rg', test_folders: '.', test_file_patterns: '*_test.rb' do
watch(%r{^(.+)_test\.rb}) { |m| "./#{m[1]}_test.rb" }
watch(%r{^(.+)\.rb}) { |m| "./#{m[1]}_test.rb" }
end

0 comments on commit 307b814

Please sign in to comment.