Sha256: 14c36b70d2647e0567385fa43a87c12259f90d2ba66ea265f70d24ff3909d58f

Contents?: true

Size: 447 Bytes

Versions: 8

Compression:

Stored size: 447 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 spec/qu_spec.rb
#/

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

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

specs="spec/"

if [ $# -gt 0 ]
  then
    specs=$@
fi

script/bootstrap && bundle exec rspec $specs

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
flipper-ui-0.2.0.beta5 script/test
flipper-0.7.0.beta3 script/test
flipper-ui-0.2.0.beta4 script/test
flipper-ui-0.2.0.beta3 script/test
flipper-0.7.0.beta2 script/test
flipper-ui-0.2.0.beta2 script/test
flipper-ui-0.2.0.beta1 script/test
flipper-0.7.0.beta1 script/test