Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » PHPUnit Empty class not found.
icon8.gif  PHPUnit Empty class not found. [message #646603] Wed, 29 December 2010 05:09 Go to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: December 2010
Junior Member
I have a Win XP + Xampp environment where I have been using my own test automation setup. I decided to try PHPUnit, and cannot get the simplest of tests to run using the External Tools in my project. I've tried a variety of configuration options for the External Tools setup, all of which have given me roughly the same result.

When I run the test, I receive the output:

PHPUnit 3.5.6 by Sebastian Bergmann.

Class  could not be found in C:\xampp\php\phpunit.


My File: ("Test.php")
<?php
require_once("PHPUnit/Framework.php");
class Test extends PHPUnit_Framework_TestCase {
	public function testFail() {
		$this->fail();
	}
} //END CLASS
?>


My External Tools configuration:
Location = "C:\xampp\php\phpunit.bat"
Working Directory = "${project_loc}/tests"
Arguments = "C:\xampp\php\phpunit --verbose "${resource_loc}""

Does anyone have a clue what I am doing wrong? Thank you in advance.
Re: PHPUnit Empty class not found. [message #900981 is a reply to message #646603] Thu, 09 August 2012 09:48 Go to previous messageGo to next message
Rudolfs Janitis is currently offline Rudolfs JanitisFriend
Messages: 1
Registered: August 2012
Junior Member
Same problem here.

Any SOlution.?
Re: PHPUnit Empty class not found. [message #901180 is a reply to message #900981] Fri, 10 August 2012 08:38 Go to previous message
Jacek Pospychala is currently offline Jacek PospychalaFriend
Messages: 159
Registered: July 2009
Senior Member
You might want to try Eclipse PHPUnit plugin available at http://www.phpsrc.org/projects/pti-phpunit/wiki/
Previous Topic:Adding Syntax Elements
Next Topic:Juno / OS X: No "debug as ..." after fresh installation
Goto Forum:
  


Current Time: Thu Apr 25 04:38:30 GMT 2024

Powered by FUDForum. Page generated in 0.03289 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top