Skip to content

Instantly share code, notes, and snippets.

@ryandoherty
Created January 24, 2012 01:29
Show Gist options
  • Save ryandoherty/1667167 to your computer and use it in GitHub Desktop.
Save ryandoherty/1667167 to your computer and use it in GitHub Desktop.
Precommit hook for running PHPUnit tests
#!/bin/sh
phpunit --bootstrap include/tests/bootstrap.php include/tests/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment