main
1#!/bin/sh
2
3# script/test: Run test suite for application. Optionally pass in a path to an
4# individual test file to run a single test.
5
6
7set -e
8
9cd "$(dirname "$0")/.."
10
11[ -z "$DEBUG" ] || set -x
12
13echo [$(date "+%H:%M:%S")] "==> Running setup…"
14bin/setup
15
16echo [$(date "+%H:%M:%S")] "==> Running tests…"
17bundle exec rake spec