[TASK] Bootstrap for Unit Tests 96/23396/7
authorHelmut Hummel <helmut.hummel@typo3.org>
Wed, 28 Aug 2013 10:31:08 +0000 (12:31 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sun, 13 Oct 2013 22:09:33 +0000 (00:09 +0200)
commitf362ed732e4f48eaa5770a00f6171cbb9641c43c
tree30700232762df1036278c006131e3692f2cd8996
parent60511e271e4d2818e01c356d25a564d186ce5275
[TASK] Bootstrap for Unit Tests

Until now we still needed the phpunit extension
to be installed and cli access to be configured
to execute unit tests.

This change introduces a bootstrap file which
can be used to execute the unit test suite
without the extension.

It is of course still possible to use the PHPUnit
and VHS framework files present in the extension.

This change also splits user initialization into
separate bootstrap methods and allows the PATH_site
and PATH_thisScript constants to be set outside
the bootstrap.

Activate Travis CI to make use of this.

Resolves: #51436
Releases: 6.2
Change-Id: I43f51896fd9895ead8d0084f37d34f3347f1c5e5
Reviewed-on: https://review.typo3.org/23396
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Tested-by: Philipp Gampe
Reviewed-by: Philipp Gampe
Tested-by: Markus Klein
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
.travis.yml
typo3/cli_dispatch.phpsh
typo3/init.php
typo3/sysext/core/Build/UnitTests.xml
typo3/sysext/core/Build/UnitTestsBootstrap.php [new file with mode: 0644]
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php