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

François Suter fsu-lists at cobweb.ch
Thu Jan 23 10:01:47 CET 2014


Hi again,

> What command do I need to issue to run the tests successfully?

Seems like all the information is here: 
http://wiki.typo3.org/Functional_testing

I have created a "PHPUnit" category in the wiki and marked 3 relevant 
pages. Hopefully this makes them easier to find.

That being said I tried to run:

./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.

Any hints?

Cheers

-- 

Francois Suter

Work: Cobweb Development Sarl - http://www.cobweb.ch

TYPO3: Help the project! - http://typo3.org/contribute/

Appreciate my work? Support me -
http://www.monpetitcoin.com/en/francois/support-me/



More information about the TYPO3-team-core mailing list