[PHPUnit] cannot find test file
| From: | Jared Nedzel | Date: | Fri, 19 May 2006 15:47:26 +0000 |
| Subject: | [PHPUnit] cannot find test file | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-24098@lists.php.net to get a copy of this message | ||
I'm trying to use PHPUnit 2.3.5 on Fedora Core 4. I'm using PHP 5.1.0. I installed PHPUnit2 using PEAR.
My test is very simple:
<?php
require_once 'PHPUnit2/Framework/TestCase.php';
class SimpleTest extends PHPUnit2_Framework_TestCase {
public function testThis() {
$this->assertEquals(1, 2);
}
}
?>
I'm trying to run the command-line test runner using:
phpunit SimpleTest.php
I get the response:
SimpleTest.php could not be found or is not readable.
Thanks,
Jared