[TASK] Acceptance tests in controlled environment 27/46727/8
authorChristian Kuhn <lolli@schwarzbu.ch>
Tue, 16 Feb 2016 19:19:26 +0000 (20:19 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 24 Feb 2016 11:58:11 +0000 (12:58 +0100)
commit4c6ec4df4d381bb5f8aef3f9b55acd3cefe1735c
tree54d5198768086a90434f73e2c31c3aefd3c14d73
parent4177a069286c363deed655346f9290f888f69704
[TASK] Acceptance tests in controlled environment

To successfully run acceptance tests we need to create
a "controlled environment" that is separated from any
existing core environment. A standalone instance is
created that has its own set of loaded extensions,
an own database and an own web path.

The patch refactors and simplifies the existing set up
code of unit and functional test environments to be
better reusable to achieve this.

Change-Id: I6c4a818fa82d2723075888ad8a60b30acb5ed30e
Resolves: #68113
Releases: master
Reviewed-on: https://review.typo3.org/46727
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
15 files changed:
.travis.yml
typo3/sysext/core/Build/AcceptanceTests.yml
typo3/sysext/core/Build/Configuration/Acceptance/Support/Helper/Functional.php [deleted file]
typo3/sysext/core/Build/Configuration/Acceptance/Support/Helper/Unit.php [deleted file]
typo3/sysext/core/Build/Configuration/Acceptance/TravisLocalConfiguration.php [deleted file]
typo3/sysext/core/Build/Configuration/Acceptance/TravisPackageStates.php [deleted file]
typo3/sysext/core/Build/Configuration/Acceptance/acceptance.suite.yml
typo3/sysext/core/Build/Configuration/FunctionalTestsConfiguration.php [deleted file]
typo3/sysext/core/Build/FunctionalTestsBootstrap.php
typo3/sysext/core/Build/UnitTestsBootstrap.php
typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php
typo3/sysext/core/Tests/AcceptanceCoreEnvironment.php [new file with mode: 0644]
typo3/sysext/core/Tests/FunctionalTestCase.php
typo3/sysext/core/Tests/FunctionalTestCaseBootstrapUtility.php [deleted file]
typo3/sysext/core/Tests/Testbase.php [new file with mode: 0644]