Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C CMS
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
    • Locked files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • CI
  • CMS
  • Repository
  • cms
  • ..
  • Persistence
  • EnableFieldsTest.php
Find file Blame History Permalink
  • Christian Kuhn's avatar
    [TASK] Execute frontend functional tests in sub request · bec15faa
    Christian Kuhn authored Sep 01, 2020
    Constants TYPO3_MODE and TYPO3_REQUESTTYPE are unused
    in core, and we have a new helper method in
    typo3/testing-framework to execute sub requests.
    
    The patch switches all functional tests that execute
    frontend requests to use a sub request instead of
    handling standalone PHP processes.
    
    This patch is quite a milestone: It is the proof that
    TYPO3 framework state can be managed well enough to
    execute multiple TYPO3 application requests in one process.
    
    As a happy little side effect, the overall performance
    of the functional tests is increased by roughly 20
    percent. This is quite a bit when considering the fact
    that most execution time is consumed by setting up
    all the database tables.
    
    Releases: master
    Resolves: #92966
    Related: #92965
    Related: #92947
    Change-Id: I390baed39502ad3d30c881d6061f8ea0fad3c76c
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65514
    
    
    Tested-by: default avatarTYPO3com <noreply@typo3.com>
    Tested-by: default avatarOliver Bartsch <bo@cedev.de>
    Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
    Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
    Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
    Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
    Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
    bec15faa