Sha256: f0ca936274c0363a3b5b6858aeecf5c7066323c8c25a6cd58c5c7ac92795280c

Contents?: true

Size: 330 Bytes

Versions: 50

Compression:

Stored size: 330 Bytes

Contents

#!/bin/bash

set -e

if [ "$#" -gt "0" ] ; then
  if [ -f "$1" ]; then
    # argument was a file, run it's tests only
    bundle exec rake test TEST="$1"
  else
    # argument was not a file, execute it as a test suite identifier
    bundle exec rake test:"$1"
  fi
else
  # no arguments, run all tests
  bundle exec rake test
fi

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
licensed-3.2.3 script/test
licensed-3.2.2 script/test
licensed-3.2.1 script/test
licensed-3.2.0 script/test
licensed-3.1.0 script/test
licensed-3.0.1 script/test
licensed-3.0.0 script/test
licensed-2.15.2 script/test
licensed-2.15.1 script/test
licensed-2.15.0 script/test
licensed-2.14.4 script/test
licensed-2.14.3 script/test
licensed-2.14.2 script/test
licensed-2.14.1 script/test
licensed-2.14.0 script/test
licensed-2.13.0 script/test
licensed-2.12.2 script/test
licensed-2.12.1 script/test
licensed-2.12.0 script/test
licensed-2.11.1 script/test