PHPUnit unter mac

S

Spin1987

Neues Mitglied
Thread Starter
Dabei seit
01.10.2011
Beiträge
6
Reaktionspunkte
0
Hallo liebe Community,

ich bekomme einfach nicht php unit installiert.
Ich benutze XAMPP und habe pear installiert. Kein Problem. Nun möchte ich den channel öffnen, aber dass will einfach nicht :(

Kann jemand helfen , vielen lieben dank:

Code:
pear channel-discover pear.phpunit.de
Discovering channel pear.phpunit.de over http:// failed with message: channel-add: adding Channel "pear.phpunit.de" to registry failed
Trying to discover channel pear.phpunit.de over https:// instead
Discovery of channel "pear.phpunit.de" failed (channel-add: Cannot open "https://pear.phpunit.de/channel.xml" (Connection to `pear.phpunit.de:443' failed: Connection refused))

Die Lösung : sudo zum Anfang!

Nächstes Problem:

MacBook-Pro:etc $ sudo pear channel-discover pear.phpunit.de
Adding Channel "pear.phpunit.de" succeeded
Discovery of channel "pear.phpunit.de" succeeded
MacBook-Pro:etc $ pear install phpunit/PHPUnit
Cannot install, php_dir for channel "pear.phpunit.de" is not writeable by the current user
MacBook-Pro:etc stephanmalek$ pear install phpunit/PHPUnit

und wieder ein stück weiter:

phpunit

Warning: require_once(PHP/CodeCoverage/Filter.php): failed to open stream: No such file or directory in /usr/bin/phpunit on line 38

Fatal error: require_once(): Failed opening required 'PHP/CodeCoverage/Filter.php' (include_path='.:') in /usr/bin/phpunit on line 38

Weiss einer hier weiter? Vielen Dank

grüße spin
 
Zuletzt bearbeitet:
Zurück
Oben Unten