MediaWiki  master
PhpunitTestRecorder Class Reference
Inheritance diagram for PhpunitTestRecorder:
Collaboration diagram for PhpunitTestRecorder:

Public Member Functions

 setTestCase (PHPUnit\Framework\TestCase $testCase)
 
 skipped ( $test, $reason)
 Mark a test skipped. More...
 
- Public Member Functions inherited from TestRecorder
 end ()
 Called at the end of the parser test run. More...
 
 endSuite ( $path)
 Called after ending an input file. More...
 
 record ( $test, ParserTestResult $result)
 Called after each test. More...
 
 report ()
 Called before finishing the test run. More...
 
 skipped ( $test, $subtest)
 Mark a test skipped. More...
 
 start ()
 Called at beginning of the parser test run. More...
 
 startSuite ( $path)
 Called before starting an input file. More...
 
 startTest ( $test)
 Called before starting a test. More...
 
 warning ( $message)
 Show a warning to the user. More...
 

Private Attributes

 $testCase
 

Detailed Description

Definition at line 3 of file PhpunitTestRecorder.php.

Member Function Documentation

◆ setTestCase()

PhpunitTestRecorder::setTestCase ( PHPUnit\Framework\TestCase  $testCase)

Definition at line 6 of file PhpunitTestRecorder.php.

References $testCase.

◆ skipped()

PhpunitTestRecorder::skipped (   $test,
  $reason 
)

Mark a test skipped.

Parameters
string$test
string$reason

Definition at line 15 of file PhpunitTestRecorder.php.

Member Data Documentation

◆ $testCase

PhpunitTestRecorder::$testCase
private

Definition at line 4 of file PhpunitTestRecorder.php.

Referenced by setTestCase().


The documentation for this class was generated from the following file: