Skip to content

Instantly share code, notes, and snippets.

@EpeeCheeze
Created February 14, 2012 22:29
Show Gist options
  • Save EpeeCheeze/1831082 to your computer and use it in GitHub Desktop.
Save EpeeCheeze/1831082 to your computer and use it in GitHub Desktop.
Run PHPUnit on individual test files
#!/bin/bash
cd $1
for f in $(ls -l | grep -v ^d | awk '{print $8}')
do
echo "Running " $f
phpunit $f
echo
echo "*********************************"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment