@group
A test can be marked as belonging to one or more groups using an @group annotation like this
class MyTest extends PHPUnit_Framework_TestCase { public function testSomething() { } public function testSomethingElse() { } }
Tests can be selected to run on a group basis using the -group and --exclude -group switches for a test runner on the command line or using the appropriate XML configuration file directives.
source share