You are here

public function PHPUnit_Framework_Test::run in Zircon Profile 8

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

Runs a test and collects its result in a TestResult instance.

Parameters

PHPUnit_Framework_TestResult $result:

Return value

PHPUnit_Framework_TestResult

5 methods override PHPUnit_Framework_Test::run()
DoubleTestCase::run in vendor/phpunit/phpunit/tests/_files/DoubleTestCase.php
Runs a test and collects its result in a TestResult instance.
PHPUnit_Extensions_PhptTestCase::run in vendor/phpunit/phpunit/src/Extensions/PhptTestCase.php
Runs a test and collects its result in a TestResult instance.
PHPUnit_Extensions_TestDecorator::run in vendor/phpunit/phpunit/src/Extensions/TestDecorator.php
Runs the decorated test and collects the result in a TestResult.
PHPUnit_Framework_TestCase::run in vendor/phpunit/phpunit/src/Framework/TestCase.php
Runs the test case and collects the results in a TestResult object. If no TestResult object is passed a new one will be created.
PHPUnit_Framework_TestSuite::run in vendor/phpunit/phpunit/src/Framework/TestSuite.php
Runs the tests and collects their result in a TestResult.

File

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

Class

PHPUnit_Framework_Test
A Test can be run and collect its results.

Code

public function run(PHPUnit_Framework_TestResult $result = null);