IDE : eclipse
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. 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!