Z
Z
zbender2014-03-19 10:43:20
PHPUnit
zbender, 2014-03-19 10:43:20

How to solve problems installing phpunit via pear?

Install phpunit via pear

pear config-set auto_discover 1
pear install pear.phpunit.de/PHPUnit

As a result, install ok is written, but the pear / phpunit folder is not physically added (only phpunit.bat, the phpunit file and a couple of files in the / doc folder are added)
What could be the matter?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zbender, 2014-04-10
@zbender

In new versions of PHPUnit, the autoloader folder in pear/phpunit no longer exists.
The tests were run from yii and it was necessary to correct the settings there in connection with these changes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question