priti Posted January 6, 2010 Share Posted January 6, 2010 Hi, Anyone installed PHPUNIT over xamp 1.7.3 ? Or,PHPUNIT user? thanks Link to comment https://forums.phpfreaks.com/topic/187384-phpunit/ Share on other sites More sharing options...
trq Posted January 6, 2010 Share Posted January 6, 2010 Ive never used xamp, but an install via pear is my preferred method. Link to comment https://forums.phpfreaks.com/topic/187384-phpunit/#findComment-989495 Share on other sites More sharing options...
ignace Posted January 6, 2010 Share Posted January 6, 2010 Anyone installed PHPUNIT over xamp 1.7.3 ? PHPUnit is a unit-testing framework and not a pre-configured webserver like xampp Or,PHPUNIT user? PHPUnit does not have users. It's a PEAR package. Link to comment https://forums.phpfreaks.com/topic/187384-phpunit/#findComment-989513 Share on other sites More sharing options...
trq Posted January 6, 2010 Share Posted January 6, 2010 PHPUnit does not have users. It's a PEAR package. So what would you call people who make use of phpunit? Link to comment https://forums.phpfreaks.com/topic/187384-phpunit/#findComment-989514 Share on other sites More sharing options...
priti Posted January 8, 2010 Author Share Posted January 8, 2010 Thorpe please let me know if you have any idea of below error "Argument #1 of PHPUnit_Util_Fileloader:checkAndLoad() is no existing file" This error comes when i run : phpunit testclass.php command on CLI. Link to comment https://forums.phpfreaks.com/topic/187384-phpunit/#findComment-990820 Share on other sites More sharing options...
Mchl Posted January 8, 2010 Share Posted January 8, 2010 It means what it says: the file given to the function PHPUnit_Util_Fileloader:checkAndLoad() does not exist. Link to comment https://forums.phpfreaks.com/topic/187384-phpunit/#findComment-990827 Share on other sites More sharing options...
ignace Posted January 8, 2010 Share Posted January 8, 2010 PHPUnit does not have users. It's a PEAR package. So what would you call people who make use of phpunit? Developers Link to comment https://forums.phpfreaks.com/topic/187384-phpunit/#findComment-990857 Share on other sites More sharing options...
joeradtke Posted January 29, 2010 Share Posted January 29, 2010 I have done so after months of frustration. It needs to be installed into the directory /opt/lampp/lib/php. PHPUnit.php must be in this directory as well as the directory PHPUnit. Your PEAR directory should also reside in this directory. Phpunit can't find anything if you don't put it there. To run it from the command line you need to create a symbolic link to /usr/bin/phpunit since if you type the command phpunit your computer will try to execute the command at /usr/bin/phpunit which is where the command would be installed if you didn't use xampp. The above assums a linux operating system. Joe Link to comment https://forums.phpfreaks.com/topic/187384-phpunit/#findComment-1003779 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.