Sha256: 972f0c2c2108cbce7c1e3c23081eceae7414d1e67937904848ac73a756b91158

Contents?: true

Size: 575 Bytes

Versions: 247

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

247 entries across 247 versions & 1 rubygems

Version Path
avo-3.17.6.tw4 bin/test
avo-3.17.6 bin/test
avo-3.17.5 bin/test
avo-3.17.4 bin/test
avo-3.17.3 bin/test
avo-3.17.5.tw4 bin/test
avo-3.17.4.tw4 bin/test
avo-3.17.3.tw4 bin/test
avo-3.17.2.tw4 bin/test
avo-3.17.2 bin/test
avo-3.17.1.tw4 bin/test
avo-3.17.1 bin/test
avo-3.17.0 bin/test
avo-3.16.6 bin/test
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