Sha256: e3c5b5db3ddf72faee5d848090a8642f97a29cf5a08d7cbd803802b10629a23e

Contents?: true

Size: 527 Bytes

Versions: 67

Compression:

Stored size: 527 Bytes

Contents

#!/bin/bash -e

export RAILS_ENV="test"
export NODE_ENV="test"

# Run unit tests
if [[ -z "$1" ]] || [[ "$1" == "unit" ]]; then
  bundle exec rspec ./spec --tag type:feature
  bundle exec rspec ./spec --tag type:controller
fi;

# Run system tests
if [[ -z "$1" ]] || [[ "$1" == "system" ]]; then
  yarn build:js
  yarn build:custom-js
  yarn build:css
  bundle exec rspec ./spec --tag type:system
fi;

# Run open-ended test paths
if [[ "$@" ]] && [[ "$1" != "unit" ]] && [[ "$1" != "system" ]]; then
  bundle exec rspec $@
fi;

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
avo-2.13.1 bin/test
avo-2.13.0 bin/test
avo-2.12.1.pre.1 bin/test
avo-2.12.0 bin/test
avo-2.11.3.pre.3 bin/test
avo-2.11.3.pre.2 bin/test
avo-2.11.3.pre.1 bin/test
avo-2.11.2.pre.3 bin/test
avo-2.11.2.pre.2 bin/test
avo-2.11.2.pre.1 bin/test
avo-2.11.1.pre.3 bin/test
avo-2.11.1 bin/test
avo-2.11.1.pre.2 bin/test
avo-2.11.1.pre.1 bin/test
avo-2.11.0 bin/test
avo-2.10.3.pre.1 bin/test
avo-2.10.2 bin/test
avo-2.9.2.pre1 bin/test
avo-2.10.0 bin/test
avo-2.9.1.pre7 bin/test