![]() |
![]() ![]() |
![]() |
![]() ![]()
Post
#1
|
|
![]() Grupa: Zarejestrowani Postów: 623 Pomógł: 11 Dołączył: 1.01.2009 Skąd: Wrocław Ostrzeżenie: (0%) ![]() ![]() |
Witam,
próbuję sobie zainstalować PHPUnit'a do testów jednostkowych. Tak wygląda u mnie plik /usr/bin/phpunit (wyciąłem komentarze):
Listing katalogu /usr/lib/php/PHPUnit wygląda tak: Cytat szymon@szymon-Vostro-1440:/usr/lib/php/PHPUnit$ ls -l razem 40 -rw-r--r-- 1 root root 13302 2012-03-23 22:28 Autoload.php -rw-r--r-- 1 root root 3579 2012-03-23 22:28 Autoload.php.in drwx------ 3 root root 4096 2012-03-23 22:28 Extensions drwx------ 8 root root 4096 2012-03-23 22:28 Framework drwx------ 2 root root 4096 2012-03-23 22:28 Runner drwx------ 2 root root 4096 2012-03-23 22:28 TextUI drwx------ 7 root root 4096 2012-03-23 22:28 Util Gdy w terminalu wywołam polecenie phpunit (bez opcji) dostaję komunikat: Cytat PHP Warning: require_once(File/Iterator/Autoload.php): failed to open stream: No such file or directory in /usr/lib/php/PHPUnit/Autoload.php on line 45 PHP Fatal error: require_once(): Failed opening required 'File/Iterator/Autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/lib/php/PHPUnit/Autoload.php on line 45 Mi to wygląda na jakieś błędy w bibliotece, ale może to ja coś źle skonfigurowałem... Co powinienem teraz zrobić? Pozdrawiam // EDIT: OK, problem rozwiązany - usunąłem PHPUnit'a i zainstalowałem zgodnie z tym tutorialem: [url="http://www.giocc.com/installing-phpunit-on-ubuntu-11-04-natty-narwhal.html"]http://www.giocc.com/installing-phpunit-on-ubuntu-11-04-natty-narwhal.html[/url ![]() Ten post edytował sweter 12.04.2012, 16:42:56 -------------------- |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 12:11 |