‪TYPO3CMS  10.4
FunctionalTestCaseVisitor Class Reference
Inheritance diagram for FunctionalTestCaseVisitor:

Public Member Functions

 enterNode (Node $node)
 
array getTests ()
 
string getFqcn ()
 

Private Attributes

array[] $tests = array( )
 
string $fqcn
 

Detailed Description

nikic/php-parser node visitor to find test class namespace, count

Test:
‪annotated methods and their possible @dataProvider's

Definition at line 236 of file splitFunctionalTests.php.

Member Function Documentation

◆ enterNode()

FunctionalTestCaseVisitor::enterNode ( Node  $node)

Create a list of '

Test:
‪' annotated methods in a test case file and see if single tests use data providers.
Parameters
Node$node

Definition at line 252 of file splitFunctionalTests.php.

◆ getFqcn()

string FunctionalTestCaseVisitor::getFqcn ( )

Return Fully qualified class test name

Returns
‪string

Definition at line 302 of file splitFunctionalTests.php.

References $fqcn.

◆ getTests()

array FunctionalTestCaseVisitor::getTests ( )

Return array of found tests and their data providers

Returns
‪array

Definition at line 292 of file splitFunctionalTests.php.

References $tests.

Member Data Documentation

◆ $fqcn

string FunctionalTestCaseVisitor::$fqcn
private

Fully qualified test class name

Definition at line 244 of file splitFunctionalTests.php.

Referenced by getFqcn().

◆ $tests

array [] FunctionalTestCaseVisitor::$tests = array( )
private

An array of arrays with test method names and optionally a data provider name

Definition at line 240 of file splitFunctionalTests.php.

Referenced by getTests().