Sha256: ebf817995bae13482f5714ff8abdd357fc4c13387ca2680a928321aa51be459e
Contents?: true
Size: 672 Bytes
Versions: 1
Compression:
Stored size: 672 Bytes
Contents
#!/usr/bin/env ruby exit(1) if __FILE__ != $0 require 'bundler/setup' require 'webmock' if ENV.has_key?("SLOW") if ENV.has_key?("CODECLIMATE_REPO_TOKEN") require "codeclimate-test-reporter" WebMock.disable_net_connect!(:allow => "codeclimate.com") CodeClimate::TestReporter.start end end $LOAD_PATH.unshift('lib', 'test') fast_tests = `find ./test -name *_test.rb -print | xargs grep -l "minitest_helper"` Dir.glob(fast_tests.split("\n")) { |f| puts f; require f } exit(0) unless ENV.keys.include?("SLOW") slow_tests = `find ./test -name *_test.rb -print | xargs grep -L "minitest_helper"` Dir.glob(slow_tests.split("\n")) { |f| puts f; require f }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fantasyhub-1.0.1 | bin/run_test_suite |