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

Public Member Functions

 execute ()
 

Private Member Functions

InputDefinition getInputDefinition ()
 

Detailed Description

This script is typically executed by runTests.sh.

The script expects to be run from the core root: ./Build/Scripts/splitAcceptanceTests.php <numberOfChunks>

Verbose output with 8 chunks: ./Build/Scripts/splitAcceptanceTests.php 8 -v

It's purpose is to find all core Application acceptance tests and split them into pieces. In CI, there are for example 8 jobs for the ac tests and each picks one chunk of tests. This way, acceptance tests are run in parallel and thus reduce the overall runtime of the test suite.

codeception group files including their specific set of tests are written to: typo3/sysext/core/Tests/Acceptance/AcceptanceTests-Job-<counter>

Definition at line 57 of file splitAcceptanceTests.php.

Member Function Documentation

◆ execute()

SplitAcceptanceTests::execute ( )

Main entry method

Definition at line 62 of file splitAcceptanceTests.php.

References $_SERVER, $output, $parser, and getInputDefinition().

◆ getInputDefinition()

InputDefinition SplitAcceptanceTests::getInputDefinition ( )
private

Allowed script arguments

Returns
‪InputDefinition argv input definition of symfony console

Definition at line 174 of file splitAcceptanceTests.php.

Referenced by execute().