diff options
author | Tiago Ferraz <tiago.ferraz@gmail.com> | 2015-03-30 11:35:19 -0300 |
---|---|---|
committer | Tiago Ferraz <tiago.ferraz@gmail.com> | 2015-03-30 11:35:19 -0300 |
commit | 48952940d5f65ff584404f78f29b854004f81a02 (patch) | |
tree | 993439f783a47828419c621b31b610a491a1e6c8 | |
parent | f73a010925338f149410172c33df113947c371fc (diff) |
Added command to execute functional tests
Just call go passing functional as an argument.
-rwxr-xr-x | service/go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -92,6 +92,13 @@ function runCoverageUnitAndIntegration { echo "Done." } +function runFunctionalTests { + echo "Executing Functional Tests on headless PhantomJS." + echo "You should execute it on Debian box for more similar results with CI environment." + behave --tags ~@wip test/functional/features + echo "Done." +} + if [ "$1" == 'test' ]; then set -e runPep8 @@ -121,6 +128,8 @@ elif [ "$1" == 'coverage_all' ]; then runCoverageUnitAndIntegration "${@:2}" elif [ "$1" == 'start' ]; then /usr/bin/env pixelated-user-agent "${@:2}" +elif [ "$1" == "functional" ]; then + runFunctionalTests "${@:2}" else python setup.py $* fi |