Task #59487

Epic #58282: Workspaces Workpackage #2

Story #58283: Testing Framework

Reduce complexity in frontend functional tests

Added by Oliver Hader over 5 years ago. Updated about 2 years ago.

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

100%

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.

Associated revisions

Revision 85f37a09 (diff)
Added by Oliver Hader over 5 years ago

[TASK] Reduce complexity in frontend functional tests

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.

Resolves: #59487
Releases: 6.2
Change-Id: Ic9eeadee5471a3e0e40d2dffb69b38dec16a0aa1
Reviewed-on: https://review.typo3.org/30515
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader

History

#1 Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30515

#2 Updated by Oliver Hader over 5 years ago

  • Assignee set to Oliver Hader

#3 Updated by Gerrit Code Review over 5 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30515

#4 Updated by Gerrit Code Review over 5 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30515

#5 Updated by Oliver Hader over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#6 Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF