Project

General

Profile

Actions

Task #59487

closed

Epic #58282: Workspaces Workpackage #2

Story #58283: Testing Framework

Reduce complexity in frontend functional tests

Added by Oliver Hader almost 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Tests
Target version:
-
Start date:
2014-06-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

Testing the frontend behavior in functional tests creates currently an own PHP sub-request to execute TypoScript in frontent context.
Several hooks collect called cObjects and try to find the correct nesting levels. Albeit this is working for the current tests, it is way too complex for extending the tests for further scenarios like for FAL and Extbase.

The hook magic is resolved and explicit render functions, called via TypoScript, collect the data an output aggregated JSON data in the end.
Besides that the PHP sub-request execution now re-uses the PHPUnit utilities to determine and run the accordant executables.

Actions

Also available in: Atom PDF