To use Phpunit in Eclipse: Eclipse run menu -> External Tools -> External Tools... Click program, click new. Type PhpUnit Test in the Name field. Main tab: Location: /path/to/phpunit Working Directory: ${container_loc} Arguments: ${resource_name} Thereafter it will be available as an external (test) option.