[TASK] Add framework for frontend rendering functional tests 13/27413/19
authorOliver Hader <oliver@typo3.org>
Wed, 19 Feb 2014 09:04:28 +0000 (10:04 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 19 Feb 2014 13:59:50 +0000 (14:59 +0100)
commit4231f415e510fb64d18545944598fc3c4358a47b
treeea63597b06dbd6c2a52a8c142c3ef7d06db3a688
parent7d49ed19a0ff628d76bef4f1f4d71d35eff5eb25
[TASK] Add framework for frontend rendering functional tests

To ensure that actions in the backend have an accordant and
correct impact in the frontend, a frontend request needs to
be triggered from the functional test execution.
The response of that simulated frontend request shall be
delivered as JSON, exceptions need to be caught and
forwarded to the test suite as well. Besides that, it is
required to have a possibility to set up TypoScript
configuration, modify TCA and TYPO3_CONF_VARS for further
hook processing.

Resolves: #55882
Releases: 6.2
Change-Id: I54d475e8f1ce01fd7cb8c64b68c2318b1e9f7bbe
Reviewed-on: https://review.typo3.org/27413
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
12 files changed:
typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php
typo3/sysext/core/Tests/Functional/Framework/Frontend/Hook/BackendUserHandler.php [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/Framework/Frontend/Hook/ContentObjectRendererWatcher.php [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/Framework/Frontend/Hook/DatabaseConnectionWatcher.php [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/Framework/Frontend/RenderElement.php [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/Framework/Frontend/RenderLevel.php [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/Framework/Frontend/RequestBootstrap.php [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/Framework/Frontend/Response.php [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/Framework/Frontend/ResponseContent.php [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/Framework/Scripts/Request.php [new file with mode: 0644]
typo3/sysext/core/Tests/FunctionalTestCase.php
typo3/sysext/core/Tests/FunctionalTestCaseBootstrapUtility.php