Skip to content

Instantly share code, notes, and snippets.

@BRMatt
Created February 6, 2010 19:13
Show Gist options
  • Save BRMatt/296904 to your computer and use it in GitHub Desktop.
Save BRMatt/296904 to your computer and use it in GitHub Desktop.
Useful script for automatically running unit tests in a loop
#!/bin/bash
# Simple script for looping unit test runs
# Relies on a phpunit.xml config being in the cwd
# Author: [email protected]
for(( ; ; )); do clear; echo -e "`phpunit`"; sleep 10; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment