Created
July 18, 2011 14:15
-
-
Save sandermarechal/1089631 to your computer and use it in GitHub Desktop.
PHPUnit Group Bugs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @group bar | |
*/ | |
class BarTest extends PHPUnit_Framework_TestCase | |
{ | |
/** | |
* @dataProvider spit | |
*/ | |
public function testBar() | |
{ | |
$this->assertEquals(1, 1); | |
} | |
public function spit() | |
{ | |
return array(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @group foo | |
*/ | |
class FooTest extends PHPUnit_Framework_TestCase | |
{ | |
public function testFoo() | |
{ | |
$this->assertEquals(1, 1); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment