‪TYPO3CMS  ‪main
AcceptanceTestCaseVisitor Class Reference
Inheritance diagram for AcceptanceTestCaseVisitor:

Public Member Functions

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

Private Attributes

array $tests = []
string $fqcn

Detailed Description

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

‪annotated methods and their possible @dataProvider's

Definition at line 187 of file splitAcceptanceTests.php.

Member Function Documentation

◆ enterNode()

AcceptanceTestCaseVisitor::enterNode ( Node  $node)

Create a list of '

‪' annotated methods in a test case file and see if single tests use data providers.

Definition at line 205 of file splitAcceptanceTests.php.

References $name.

◆ getFqcn()

AcceptanceTestCaseVisitor::getFqcn ( )

Return Fully qualified class test name

Definition at line 251 of file splitAcceptanceTests.php.

References $fqcn.

◆ getTests()

AcceptanceTestCaseVisitor::getTests ( )

Return array of found tests and their data providers

Definition at line 243 of file splitAcceptanceTests.php.

References $tests.

Member Data Documentation

◆ $fqcn

string AcceptanceTestCaseVisitor::$fqcn

Definition at line 197 of file splitAcceptanceTests.php.

Referenced by getFqcn().

◆ $tests

array AcceptanceTestCaseVisitor::$tests = []

Definition at line 192 of file splitAcceptanceTests.php.

Referenced by getTests().