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
color_me_shop-1.0.0 vendor/bundle/ruby/2.5.0/gems/crack-0.4.3/script/test
vagrant-unbundled-2.1.1.0 vendor/bundle/ruby/2.5.0/gems/crack-0.4.3/script/test
vagrant-unbundled-2.0.4.0 vendor/bundle/ruby/2.5.0/gems/crack-0.4.3/script/test
vagrant-unbundled-2.0.3.0 vendor/bundle/ruby/2.5.0/gems/crack-0.4.3/script/test
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.5.0/gems/crack-0.4.3/script/test
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.4.0/gems/crack-0.4.3/script/test
vagrant-unbundled-2.0.1.0 vendor/bundle/ruby/2.4.0/gems/crack-0.4.3/script/test
cloudsmith-api-0.21.4 vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/script/test
logstash-output-icinga-1.1.0 vendor/jruby/2.3.0/gems/crack-0.4.3/script/test
logstash-output-icinga-1.1.0 vendor/jruby/1.9/gems/crack-0.4.3/script/test
vagrant-unbundled-2.0.0.1 vendor/bundle/ruby/2.4.0/gems/crack-0.4.3/script/test
vagrant-unbundled-1.9.8.1 vendor/bundle/ruby/2.4.0/gems/crack-0.4.3/script/test
vagrant-unbundled-1.9.7.1 vendor/bundle/ruby/2.4.0/gems/crack-0.4.3/script/test
vagrant-unbundled-1.9.5.1 vendor/bundle/ruby/2.4.0/gems/crack-0.4.3/script/test
logstash-output-icinga-1.0.0 vendor/jruby/1.9/gems/crack-0.4.3/script/test
logstash-filter-zabbix-0.1.2 vendor/bundle/jruby/1.9/gems/crack-0.4.3/script/test
logstash-filter-zabbix-0.1.1 vendor/bundle/jruby/1.9/gems/crack-0.4.3/script/test
logstash-input-salesforce-3.0.0 vendor/jruby/1.9/gems/crack-0.4.3/script/test
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/crack-0.4.3/script/test
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/crack-0.4.3/script/test