|
Subject: Problem 'require'ing PHP Unit Newsgroups: gmane.comp.php.phpunit.user Date: Monday 24th May 2010 22:45:24 UTC (over 7 years ago) Hi! I'm trying to use phpunit, and have gotten stuck on a beginner step. I installed PHP Unit via the phpunit package in Ubuntu, but when I execute this line: require_once 'PHPUnit/Framework.php'; I get the error Fatal error: Class 'PHPUnit_Util_Filter' not found in /usr/share/php/PHPUnit/Util/FilterIterator.php on line 49 Beginner mistake or broken package? I then uninstalled (and purged) the package, and installed it via pear. Now getting this error: Fatal error: Class 'PHPUnit_Util_Filter' not found in /usr/share/php/PHPUnit/Framework/Exception.php on line 48 This is php 5.2.10, by the way. include_path => .:/usr/share/php:/usr/share/pear PHPUnit 3.4.13 stable No autoloader set up, and even when I try to create an autoloader, it still fails. Anyone have any ideas? Thanks! j -- Joshua Kugler Part-Time System Admin/Programmer http://www.eeinternet.com PGP Key: http://pgp.mit.edu/ ID 0x73B13B6A |
||