#!/bin/bash
APPDIR="$(dirname ${BASH_SOURCE[0]})""/../application"
pushd $APPDIR >/dev/null
# use composer-installed phpunit
# regular phpunit won't really work
bin/phpunit -c app/ --bootstrap=app/autoload.php --exclude-group=functional "$@"
popd >/dev/null

Add dev-friendly unit test runner * invokes project phpunit != global phpunit (w/ the composer-installed extensions we need) * works from any pwd, anywhere * no phantomjs * --exclude-group=functional * passes any additional arguments through to phpunit
Add dev-friendly unit test runner
* invokes project phpunit != global phpunit (w/ the composer-installed extensions we need)
* works from any pwd, anywhere
* no phantomjs
* --exclude-group=functional
* passes any additional arguments through to phpunit
