How can I get code completion for PHPUnit?

I have PHPUnit working just fine through Web IDE.  Tests run....and expected.  However, Web IDE isn't seeing up the PHPUnit classes and thus code completion won't work.  Any ideas?  Here's my simple test case for reference:

require_once 'PHPUnit/Framework.php';

class testimonialFactoryTest extends PHPUnit_Framework_TestCase {

    function testIt() {


I also found that if I leave out the 'require_once' statement, the tests still run and pass/fail as expected.


To get the completion in current version you need to add PHPUnit sources to your project. Use Settings|Directories to add any folder from your HDD. This makes project tree not so pretty and will be unnecessary in future, see


Works for me.  Thanks for the quick reply.


Please sign in to leave a comment.