* adding runtests helper

This commit is contained in:
Seth Call 2014-01-31 12:09:44 -06:00
parent 062b36ae82
commit 43d5c8465f
1 changed files with 32 additions and 0 deletions

32
runtests Executable file
View File

@ -0,0 +1,32 @@
#!/bin/bash
set -e
echo ""
pushd ruby > /dev/null
echo "RUNNING RUBY TESTS"
bundle exec rspec
popd > /dev/null
echo ""
pushd web > /dev/null
echo "RUNNING WEB TESTS"
bundle exec rspec
popd > /dev/null
echo ""
pushd admin > /dev/null
echo "RUNNING ADMIN TESTS"
bundle exec rspec
popd > /dev/null
echo ""
pushd websocket-gateway > /dev/null
echo "RUNNING WEBSOCKET-GATEWAY TESTS"
bundle exec rspec
popd > /dev/null
echo "TESTS PASSED"