Where is your webroot set to? If you can access your controllers like this:
http://localhost/controllerA
then to access the test suite go to:
http://localhost/tests/
Notice the 's' on the word 'tests'. This is because the test suite uses a tests controller. Also, the trailing '/' is neeted for the test suite to work correctly AFAIK.
HTH,
Sonic.
On 6/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> wrote:
Hi there,
I'm using TestSuite 1.0.0.5 (althout it says 1.0.0.0 in the browserm
but I downloaded it from http://cakeforge.org/projects/testsuite/)
together with CakePHP 1.1.3.2967 but cannot really get it to work.
In http://localhost/www/, there is my application running and when I
call http://localhost/www/test/index.php I get the following error that
might be related to the problems I have in general with the TestSuite:
Notice: Use of undefined constant CORE_PATH - assumed 'CORE_PATH' in
/Applications/MAMP/htdocs/www/cake/config/paths.php on line 44
When calling a simple test I've made
(http://localhost/www/app/webroot/test/index.php?case=models%2Fuser.test.php&app=true )
the following returns:
Notice: Use of undefined constant CORE_PATH - assumed 'CORE_PATH' in
/Applications/MAMP/htdocs/www/cake/config/paths.php on line 44
Fatal error: Call to undefined function loadModelTest() in
/Applications/MAMP/htdocs/www/app/tests/app/cases/models/user.test.php
on line 3
Is it possible that 1.0.0.5 does not really work together with the
realease of CakePHP I'm using? And why is the TestSuite not part of
CakePHP?
Thanks,
Dirk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---
- Re: Problems with TestSuite Psychie Naill
- Re: Problems with TestSuite Larry E. Masters aka PhpNut
- Re: Problems with TestSuite Timo Derstappen
