You are here

interface PHPUnit_Framework_Test in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Test.php \PHPUnit_Framework_Test

A Test can be run and collect its results.

@since Interface available since Release 2.0.0

Hierarchy

Expanded class hierarchy of PHPUnit_Framework_Test

All classes that implement PHPUnit_Framework_Test

1 string reference to 'PHPUnit_Framework_Test'
PHPUnit_Framework_TestSuite::addTestFile in vendor/phpunit/phpunit/src/Framework/TestSuite.php
Wraps both <code>addTest()</code> and <code>addTestSuite</code> as well as the separate import statements for the user's convenience.

File

vendor/phpunit/phpunit/src/Framework/Test.php, line 16

View source
interface PHPUnit_Framework_Test extends Countable {

  /**
   * Runs a test and collects its result in a TestResult instance.
   *
   * @param  PHPUnit_Framework_TestResult $result
   * @return PHPUnit_Framework_TestResult
   */
  public function run(PHPUnit_Framework_TestResult $result = null);

}

Members

Namesort descending Modifiers Type Description Overrides
PHPUnit_Framework_Test::run public function Runs a test and collects its result in a TestResult instance. 5