[FLOW3-general] Unit Tests in PHPStorm shows Bootstrap error

Karsten Dambekalns karsten at typo3.org
Thu Apr 26 14:34:40 CEST 2012


Hi.

On 26.04.12 08:56, Nicolas de Haen wrote:
> I just tried to get the Unite Tests running in PHPStorm, following the
> blog of Karsten[1].

Very good decision! :)

> But I always get this error:
> 
> Testing started at 08:43 ...
> .../../../Packages/*/TYPO3.*/Classes does not exist

Uhm.

> The command shown is (for the Utility/ArraysTest.php):
> 
> /usr/bin/php /tmp/ide-phpunit.php
> --bootstrap /var/www/flow3.local/Build/Common/PhpUnit/UnitTestBootstrap.php
> --configuration /var/www/flow3.local/Build/Common/PhpUnit/UnitTests.xml
> ArraysTest
> /var/www/flow3.local/Packages/Framework/TYPO3.FLOW3/Tests/Unit/Utility/ArraysTest.php

For me it is (edited paths for brevity):
/opt/local/bin/php /…/ide-phpunit.php --configuration
/…/Common/PhpUnit/UnitTests.xml ArraysTest /…/ArraysTest.php

As you see, no bootstrap option for me (and it's configured in the XML
anyway). Check your configuration again and get rid of any specific
bootstrap configuration, if there is one.

If not, I'm at a loss. Post screenshots of your settings somewhere, maybe.

Regards,
Karsten
-- 
Karsten Dambekalns
TYPO3 Core Developer, FLOW3 / Phoenix Team

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the FLOW3-general mailing list