summaryrefslogtreecommitdiff
path: root/bin/test
blob: a3bd220b1fdff7d38375c06cf28a0cde90f5f698 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# script/test: Run test suite for application. Optionally pass in a path to an
#              individual test file to run a single test.


set -e

cd "$(dirname "$0")/.."

[ -z "$DEBUG" ] || set -x

echo [$(date "+%H:%M:%S")] "==> Running setup…"
bin/setup

echo [$(date "+%H:%M:%S")] "==> Running tests…"
bundle exec rake spec