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.