3
* This file is part of PHPUnit.
5
* (c) Sebastian Bergmann <sebastian@phpunit.de>
7
* For the full copyright and license information, please view the LICENSE
8
* file that was distributed with this source code.
12
* A Test can be run and collect its results.
15
* @subpackage Framework
16
* @author Sebastian Bergmann <sebastian@phpunit.de>
17
* @copyright Sebastian Bergmann <sebastian@phpunit.de>
18
* @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
19
* @link http://www.phpunit.de/
20
* @since Interface available since Release 2.0.0
22
interface PHPUnit_Framework_Test extends Countable
25
* Runs a test and collects its result in a TestResult instance.
27
* @param PHPUnit_Framework_TestResult $result
28
* @return PHPUnit_Framework_TestResult
30
public function run(PHPUnit_Framework_TestResult $result = null);