add failfast

tired of waiting for the almost 1000 tests to run through, just to get
an error message
This commit is contained in:
Torsten Ruger 2018-05-29 20:40:02 +03:00
parent 296617cbaf
commit e94c9ea37b
3 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,7 @@ group :test do
gem "codeclimate-test-reporter" , require: false gem "codeclimate-test-reporter" , require: false
gem "simplecov" gem "simplecov"
gem "minitest-color" gem "minitest-color"
gem 'minitest-fail-fast'
end end
group :development do group :development do

View File

@ -49,6 +49,8 @@ GEM
minitest (5.10.3) minitest (5.10.3)
minitest-color (0.0.2) minitest-color (0.0.2)
minitest (~> 5) minitest (~> 5)
minitest-fail-fast (0.1.0)
minitest (~> 5)
nenv (0.3.0) nenv (0.3.0)
net-scp (1.2.1) net-scp (1.2.1)
net-ssh (>= 2.6.5) net-ssh (>= 2.6.5)
@ -95,6 +97,7 @@ DEPENDENCIES
guard guard
guard-minitest guard-minitest
minitest-color minitest-color
minitest-fail-fast
rake rake
rb-readline rb-readline
rubyx! rubyx!

View File

@ -14,6 +14,7 @@ end
require "minitest/color" require "minitest/color"
require "minitest/autorun" require "minitest/autorun"
require "minitest/fail_fast"
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'test')) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'test'))