function runTests($tests) { foreach ($tests as $test) { $result = Testing::runTest($test); print $_SERVER['argv'][0] . '::' . $test . ': ' . $result . "\n"; } }