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.18.1 bin/test
avo-2.18.1.pre.1.eagerloaddirs bin/test
avo-2.18.0 bin/test
avo-2.17.1.pre.5.stackedlayout bin/test
avo-2.17.1.pre.4.issue.1342 bin/test
avo-2.17.1.pre.3 bin/test
avo-2.17.1.pre.2.customauthorizationclients bin/test
avo-2.17.1.pre.1.zeitwerk.eager.load.dir bin/test
avo-2.17.0 bin/test
avo-2.16.1.pre.1.nativefields bin/test
avo-2.16.0 bin/test
avo-2.15.3 bin/test
avo-2.15.3.pre.1.data.attrs.to.sidebar.items bin/test
avo-2.15.2 bin/test
avo-2.15.2.pre.1 bin/test
avo-2.15.1 bin/test
avo-2.15.0 bin/test
avo-2.14.3.pre.7.polytranslations1 bin/test
avo-2.14.3.pre.6.nosprockets bin/test
avo-2.14.3.pre.5.nosprockets bin/test