Skip to content

Instantly share code, notes, and snippets.

@shupp
Created February 21, 2010 20:03
Show Gist options
  • Save shupp/310504 to your computer and use it in GitHub Desktop.
Save shupp/310504 to your computer and use it in GitHub Desktop.
<?php
$base = dirname(__FILE__);
set_include_path("{$base}:{$base}/tests:" . get_include_path());
require_once 'PHPUnit/Util/Filter.php';
PHPUnit_Util_Filter::addFileToFilter(__FILE__, 'PHPUNIT');
require_once 'PHPUnit/TextUI/Command.php';
$command = new PHPUnit_TextUI_Command;
$command->run($argv);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment