Task #59487
Epic #58282: Workspaces Workpackage #2
Story #58283: Testing Framework
Reduce complexity in frontend functional tests
Status: | Resolved | Start date: | 2014-06-11 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Oliver Hader | % Done: | 100% |
|
Category: | Unit/Functional Tests | Spent time: | - | |
Target version: | - | |||
TYPO3 Version: | 6.2 | Complexity: | ||
PHP Version: | 5.3 | 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
[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 about 1 year 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 about 1 year ago
- Assigned To set to Oliver Hader
#3 Updated by Gerrit Code Review about 1 year 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 about 1 year 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 about 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 85f37a098d2050e9faeab6ea27bd507b19bc72e2.