Todo List
Script for running unit tests
Load up main.php so that tests that want _GalleryMain can get to it. Do it now, though so that we don't mangle the $gallery object during test runs.
FILTER_MAX = 1000000
G2_SUPPORT_URL_FRAGMENT = '../../support/'
void loadTests( $moduleId, $testDir, $filter )
void PhpUnitGalleryMain( &$testSuite, $filter )
void PhpUnitOutputInterceptor( $message )
This is an output interceptor that allows us to save the HTML output from our test run in the g2data directory. We only save the output when there's a filter value set which indicates that there's an actual test run in progress.