Created
January 10, 2012 02:19
-
-
Save Problematic/1586448 to your computer and use it in GitHub Desktop.
Symfony2 runtests script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Truncating ACL class tables..." | |
php app/console doctrine:query:sql "TRUNCATE acl_classes" | |
php app/console doctrine:query:sql "TRUNCATE acl_entries" | |
php app/console doctrine:query:sql "TRUNCATE acl_object_identities" | |
php app/console doctrine:query:sql "TRUNCATE acl_object_identity_ancestors" | |
php app/console doctrine:query:sql "TRUNCATE acl_security_identities" | |
echo "Loading data fixtures..." | |
php app/console doctrine:fixtures:load --purge-with-truncate | |
echo "Running phpunit test suites..." | |
phpunit -c app/ src/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment