Project

General

Profile

Actions

Task #80144

closed

Let child classes of functional tests tinker with the testExtensionsToLoad

Added by Anja Leichsenring over 7 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
Should have
Category:
Tests
Target version:
Start date:
2017-03-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Some of the functional test classes override the array $testExtensionsToLoad with an own value, positively blocking the addition of other extensions.
This might make sense in order to ensure an explicit testing setup for this extension exclusively. On the other hand it prevents the detection of side effects to other extensions.

During this writing, there is no difference, because the functional testing framework lacks the API to register test extensions globally, in order to include them into all tests.

In preparation of the feature 'add global test extensions to functional testing framework', the explicit declaration of $testExtensionsToLoad is moved to the setUp() function. So it is possible to extend the class again and reuse the tests for a global run with combined globally and locally registered test extensions.

Actions

Also available in: Atom PDF