Skip to content

Instantly share code, notes, and snippets.

@BRMatt
Created February 6, 2010 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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: matthew@sigswitch.com
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