A
A
Alexander Barmin2013-01-27 15:47:16
PHP
Alexander Barmin, 2013-01-27 15:47:16

PHPUnit swears at something

Good afternoon.

I installed PHPStorm + PHPUnit + Skeleton Generator, assembled everything according to the instructions, but when I try to run tests from PHPStorm, it crashes with error 255, when executing the same code in the bare console, it writes here.

What is it generally and how to force this muck to work?

MacBook-Pro-Aleksandr:~ aleksandr$ /Applications/MAMP/bin/php/php5.4.4/bin/php -dinclude_path=/Users/aleksandr/pear/share/pear/ /private/var/folders/7s/ctfhk29132bb0hjq7rf2kn640000gn/T/ide-phpunit.php --no-configuration /Users/aleksandr/Documents/web_projetcs/unit_test
PHPUnit 3.7.13 by Sebastian Bergmann.


##teamcity[testCount count='2']

##teamcity[testSuiteStarted name='/Users/aleksandr/Documents/web_projetcs/unit_test']

##teamcity[testSuiteStarted name='new_classTest' locationHint='php_qn:///Users/aleksandr/Documents/web_projetcs/unit_test/TestFolder/new_classTest.php::\new_classTest']

##teamcity[testStarted name='testReturnZero' locationHint='php_qn:///Users/aleksandr/Documents/web_projetcs/unit_test/TestFolder/new_classTest.php::\new_classTest::testReturnZero']

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
stan_jeremy, 2013-01-27
@stan_jeremy

yes, what needs to be loaded before all the tests are executed, if phpunit is more or less up-to-date :)

V
Vitaly Yushkevich, 2013-01-28
@yushkevichv

Does the phpunit config pick up exactly?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question