Skip to content

Instantly share code, notes, and snippets.

@mpenick
Created February 2, 2016 21:04
Show Gist options
  • Select an option

  • Save mpenick/4437b500e0039c656228 to your computer and use it in GitHub Desktop.

Select an option

Save mpenick/4437b500e0039c656228 to your computer and use it in GitHub Desktop.
/**
* Handle the overall setup steps for a test suite
*
* @param PHPUnit_Framework_TestSuite $test_suite Test suite starting
*/
public function startTestSuite(PHPUnit_Framework_TestSuite $test_suite) {
// Determine type of test suite being started
echo "{$test_suite->getName()}\n";
if (strpos($test_suite->getName(), "integration") !== false ) {
printf("\nEntering PHP Driver Integration Tests Setup\n");
TestSuiteListener::remove_test_clusters();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment