\PHPUnit_Extensions_GroupTestSuite

We have a TestSuite object A.

In TestSuite object A we have Tests tagged with @group.
We want a TestSuite object B that contains TestSuite objects C, D, ...
for the Tests tagged with @group C, @group D, ...
Running the Tests from TestSuite object B results in Tests tagged with both

Synopsis

class PHPUnit_Extensions_GroupTestSuite extends PHPUnit_Framework_TestSuite {
}

Hierarchy

Violations

Checkstyle

Line Column Severity Message
86 39 error Only one argument is allowed per line in a multi-line function call

Members

protected

  • $backupGlobals — boolean
    Enable or disable the backup and restoration of the $GLOBALS array.
  • $backupStaticAttributes — boolean
    Enable or disable the backup and restoration of static attributes.
  • $foundClasses — array
  • $groups — array
    The test groups of the test suite.
  • $name — string
    The name of the test suite.
  • $numTests — integer
    The number of tests in the test suite.
  • $runTestInSeparateProcess — boolean
  • $testCase — boolean
  • $tests — array
    The tests in the test suite.

Methods

Inherited from PHPUnit_Framework_TestSuite

protected

public

History