‪TYPO3CMS  10.4
AcceptanceTestCaseVisitor Class Reference
Inheritance diagram for AcceptanceTestCaseVisitor:

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 185 of file splitAcceptanceTests.php.

Member Function Documentation

◆ enterNode()

AcceptanceTestCaseVisitor::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 201 of file splitAcceptanceTests.php.

◆ getFqcn()

string AcceptanceTestCaseVisitor::getFqcn ( )

Return Fully qualified class test name

Returns
‪string

Definition at line 254 of file splitAcceptanceTests.php.

References $fqcn.

◆ getTests()

array AcceptanceTestCaseVisitor::getTests ( )

Return array of found tests and their data providers

Returns
‪array

Definition at line 244 of file splitAcceptanceTests.php.

References $tests.

Member Data Documentation

◆ $fqcn

string AcceptanceTestCaseVisitor::$fqcn
private

Fully qualified test class name

Definition at line 193 of file splitAcceptanceTests.php.

Referenced by getFqcn().

◆ $tests

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

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

Definition at line 189 of file splitAcceptanceTests.php.

Referenced by getTests().