[TYPO3-core] How to run the functional tests locally?

Marc Bastian Heinrichs typo3 at mbh-web.de
Thu Jan 23 10:08:45 CET 2014


Hey,

> ./typo3conf/ext/phpunit/Composer/vendor/bin/phpunit --colors -v
> --process-isolation --bootstrap
> typo3/sysext/core/Build/FunctionalTestsBootstrap.php
> typo3/sysext/core/Tests/Functional/Category/Collection/CategoryCollectionTest.php
> 
> 
> but it still doesn't work. The script complains about:
> 
> "Undefined index: database"
> 
> although the MySQL user defined in this particular TYPO3 instance has
> admin rights.

Do you use a AdditionalConfiguration for your database settings?

Seems to me like typo3_conf_vars array DB is missing.

Best
Maba




More information about the TYPO3-team-core mailing list