Sha256: 972f0c2c2108cbce7c1e3c23081eceae7414d1e67937904848ac73a756b91158

Contents?: true

Size: 575 Bytes

Versions: 233

Compression:

Stored size: 575 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
  bundle exec rspec ./spec --tag type:component
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

233 entries across 233 versions & 1 rubygems

Version Path
avo-3.16.5 bin/test
avo-3.16.4 bin/test
avo-3.16.3 bin/test
avo-3.16.2 bin/test
avo-3.16.1 bin/test
avo-3.16.0 bin/test
avo-3.15.7 bin/test
avo-3.15.6 bin/test
avo-3.15.5 bin/test
avo-3.15.4 bin/test
avo-3.15.3 bin/test
avo-3.15.2 bin/test
avo-3.15.1 bin/test
avo-3.15.0 bin/test
avo-3.14.5 bin/test
avo-3.14.4 bin/test
avo-3.14.3 bin/test
avo-3.14.2 bin/test
avo-3.14.1 bin/test
avo-3.14.0 bin/test