Sha256: 156f614f925f56f0fe6b2e2d65e9ab3787b11342d2b731156715fb5af93b9bf4

Contents?: true

Size: 541 Bytes

Versions: 80

Compression:

Stored size: 541 Bytes

Contents

#!/bin/sh
#/ Usage: test [individual test file]
#/
#/ Bootstrap and run all tests or an individual test.
#/
#/ Examples:
#/
#/   # run all tests
#/   test
#/
#/   # run individual test
#/   test test/controller_instrumentation_test.rb
#/

set -e
cd $(dirname "$0")/..

[ "$1" = "--help" -o "$1" = "-h" -o "$1" = "help" ] && {
    grep '^#/' <"$0"| cut -c4-
    exit 0
}

script/bootstrap && ruby -I lib -I test -r rubygems \
  -e 'require "bundler/setup"' \
  -e '(ARGV.empty? ? Dir["test/**/*_test.rb"] : ARGV).each { |f| load f }' -- "$@"

Version data entries

80 entries across 74 versions & 13 rubygems

Version Path
cloudsmith-api-0.53.3 vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test
vagrant-unbundled-2.2.10.0 vendor/bundle/ruby/2.7.0/gems/crack-0.4.3/script/test
cloudsmith-api-0.53.1 vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test
cloudsmith-api-0.52.121 vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test
cloudsmith-api-0.52.92 vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test
cloudsmith-api-0.52.79 vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test
cloudsmith-api-0.52.5 vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test
cloudsmith-api-0.52.0 vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test
cloudsmith-api-0.51.93 vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/script/test
cloudsmith-api-0.51.38 vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test
cloudsmith-api-0.51.37 vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test
cloudsmith-api-0.51.34 vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test
cloudsmith-api-0.51.22 vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test
vagrant-unbundled-2.2.9.0 vendor/bundle/ruby/2.7.0/gems/crack-0.4.3/script/test
vagrant-unbundled-2.2.8.0 vendor/bundle/ruby/2.7.0/gems/crack-0.4.3/script/test
cloudsmith-api-0.49.118 vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test
cloudsmith-api-0.49.98 vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test
cloudsmith-api-0.49.94 vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test
cloudsmith-api-0.49.21 vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test
cloudsmith-api-0.49.15 vendor/bundle/ruby/2.6.0/gems/crack-0.4.3/script/test