|
From: Steven B. <ste...@gm...> - 2008-12-02 14:40:35
|
On Mon, Dec 1, 2008 at 11:27 PM, arpit agarwal <arp...@ya...> wrote:
> Hi,
>
> I have followed all proper steps stated in Read me and all are successfully done but there are no option is coming in eclipse while creating a ner project as sample as stated in Docs.
>
> And while i am trying to Run Test Case as Run As Simple test as option started coming
> Its giving error
>
> Running:
> echo "<?php $path='C:\simpletest_1.0.1.eclipse_0.2.4\plugins';ini_set('include_path', get_include_path().PATH_SEPARATOR . realpath($path));ini_set('html_errors','0');$fullpath = realpath('C:/PHP/workspace/fckEditorSample/fckeditor/test.test.php');$pathparts = pathinfo($fullpath);$filename = $pathparts['basename'];include_once('xml.php');include_once('unit_tester.php');include_once('mock_objects.php');include_once('test_case.php');include_once('invoker.php');$test=new GroupTest($filename);$test->addTestFile($fullpath);$test->run(new XmlReporter()); ?>" | "C:\Program Files\PHP\php.exe" -q -c "C:\Program Files\PHP\php.ini"
> *************
> Process returned: 255
> Process error:
> PHP Warning: include_once(eclipse.php): failed to open stream: No such file or directory in C:\Documents and Settings\arpit716\Local Settings\Temp\Simpletest14634.php on line 1
> PHP Stack trace:
> PHP 1. {main}() C:\Documents and Settings\arpit716\Local Settings\Temp\Simpletest14634.php:0
> PHP Warning: include_once(): Failed opening 'eclipse.php' for inclusion (include_path='.;C:\php5\pear;C:\simpletest_1.0.1.eclipse_0.2.4\plugins') in C:\Documents and Settings\arpit716\Local Settings\Temp\Simpletest14634.php on line 1
The path that you have set for Simpletest is wrong. According to the
trace, Simpletest is trying to load from the path:
"C:\simpletest_1.0.1.eclipse_0.2.4\plugins". Open that directory and
verify that this directory contains the files: eclipse.php and
unit_tester.php (among many others). If the directory is incorrect
then change the directory in Eclipse by selecting "Windows" ->
"Preferences"; then selecting the Simpletest option from the left hand
column; then insert the correct path into the "Simpletest Path:"
entry.
Regards,
Steven Balthazor
|