Skip to content

Instantly share code, notes, and snippets.

@morozov
Created March 19, 2014 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save morozov/9642811 to your computer and use it in GitHub Desktop.
Save morozov/9642811 to your computer and use it in GitHub Desktop.
<?php
/**
* @requires function non_existing_function
* @see http://phpunit.de/manual/3.7/en/incomplete-and-skipped-tests.html#incomplete-and-skipped-tests.requires.tables.api
*/
class RequiresTest extends PHPUnit_Framework_TestCase
{
public static function setUpBeforeClass()
{
non_existing_function();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment