Sha256: 40e553138877aac914c1071069cce8454ca5f6d047018afa54828a8760852c6a

Contents?: true

Size: 504 Bytes

Versions: 60

Compression:

Stored size: 504 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: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

60 entries across 60 versions & 1 rubygems

Version Path
avo-1.25.2 bin/test
avo-2.8.0 bin/test
avo-2.7.1.pre.1 bin/test
avo-2.7.0 bin/test
avo-2.6.1.pre.2 bin/test
avo-2.6.1.pre.1 bin/test
avo-2.6.0 bin/test
avo-2.5.2.pre.7 bin/test
avo-2.5.2.pre.6 bin/test
avo-2.5.2.pre.5 bin/test
avo-2.5.2.pre.4 bin/test
avo-2.5.2.pre.3 bin/test
avo-2.5.2.pre.2 bin/test
avo-2.5.2.pre.1 bin/test
avo-2.5.1 bin/test
avo-2.5.0 bin/test
avo-2.4.1 bin/test
avo-2.4.0 bin/test
avo-2.3.1.pre.6 bin/test
avo-2.3.1.pre.5 bin/test