I’ve set up a version-controlled repository for the code retreat.

This time around I have branches with the boilerplate/scaffolding code for several testing frameworks including:

* DocTest for Python

* NodeUnit for JavaScript

* PHPUnit & SimpleTest for PHP

PHPUnit – Run all tests in current directory

I figured out this bash command at some point when I needed to run all my PHPUnit tests in a directory at once, tweeted about it, but I keep having a hard time googling for it since.

Here it is:

[bash]
for FILE in $(ls); do phpunit $FILE; done
[/bash]