|
From: Marcus B. <ma...@la...> - 2003-09-09 13:52:41
|
Hi...
dollar k wrote:
> *Warning*: main(path_to_simple_test/simple_unit.php): failed to open
> stream: No such file or directory in
> *C:\Inetpub\wwwroot\simpletest\all_tests.php* on line *5*
The "path_to_simple_test" bit you were supposed to replace with the
place where you have installed the simpletest files. I would put the
all_tests.php, etc in a folder within your project or alongside it. So
if your project is in a folder c:/home/me/project then place them in
c:/home/me/project/test or c:/home/me/test perhaps. Otherwise you will
clutter the simpletest folder with lots of project specific stuff.
When you set the SIMPLE_TEST constant you set it to the location of the
simpletest files, so in your case...
define('SIMPLE_TEST', 'C:/Inetpub/wwwroot/simpletest/');
You may have to swap the forward slashes for escaped backslashes, but I
doubt it. That should work.
yours, Marcus
--
Marcus Baker, ma...@la..., no...@ap...
|