So I found the solution : I was confused with this number of directory
added to my project.

In /app/tests/groups/ create a file like in /cake/tests/groups/

take no_database.group.php as example

And that's my try.group.php :

<?php
class TryGroupTest extends GroupTest {
        var $label = 'try';

        function tryGroupTest() {
                TestManager::addTestCasesFromDirectory($this, APP_TEST_CASES . 
DS .
'models');
        }
}
?>

So you can add all baked tests cases.



In fact cake's tests cases are located in /cake/tests, when I was
looking in /app/tests/core/


On 20 avr, 15:47, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I'm pretty new to test, if somebody could help me.
>
> thx.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to