/** * Set up creates a test instance and database. * * This method should be called with parent::setUp() in your test cases! * * @return void */ public function setUp() { if (!defined('ORIGINAL_ROOT')) { $this->markTestSkipped('Functional tests must be called through phpunit on CLI'); } $this->bootstrapUtility = new FunctionalTestCaseBootstrapUtility(); $this->instancePath = $this->bootstrapUtility->setUp(get_class($this), $this->coreExtensionsToLoad, $this->testExtensionsToLoad, $this->pathsToLinkInTestInstance, $this->configurationToUseInTestInstance, $this->additionalFoldersToCreate); }
/** * Calculates path to TYPO3 CMS test installation for this test case. * * @return string */ protected function getInstancePath() { return FunctionalTestCaseBootstrapUtility::getInstancePath(get_class($this)); }