[PHPUNIT][ECLIPSE] PHPUnit/Autoload.php no such file in eclipse

IDE : eclipse

Error :

Warning: require(PHPUnit/Autoload.php): failed to open stream: 
No such file or directory

Solution :
Locate first your PHPUnit, that is to say, verify whether 
PHPUnit folder is already in /usr/share/php, if yes, take a look at 
the diagram below, in your eclipse, go to Window, then Preference, 
then PHP Include Path, then Libraries, click Add External Source Folder. 
Add /usr/share/php in your Libraries and PHPUnit will work well.

Screenshot from 2013-06-13 16:52:19

If not, if PHPUnit is still exist, it will be the same logic.
If it doesn't exist .... Close your brower and go to sleep!
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s