Skip to content

Commit

Permalink
split up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lsat12357 committed Jan 23, 2018
1 parent abbc168 commit cfdd6c8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docker/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,15 @@ fi
target=${@:-spec/}
# Run tests!
echo "Running 'bundle exec rspec $target'"
$dctest run --rm test $target
if [ $@ ]; then
$dctest run --rm test $@
else
for specdir in spec/*; do
if [ -d $specdir ]; then
$dctest run test $specdir
fi
done
fi

if [[ $quick == 0 ]]; then
$dctest stop
Expand Down

0 comments on commit cfdd6c8

Please sign in to comment.