On 4 Apr., 15:13, Bernhard Schussek <bschus...@gmail.com> wrote: > Hi Matthias, > > If you want to execute particular tests, you can just execute them > from the console using "php". E.g. > $ php plugins/myPlugin/test/unit/myClassTest.php
Hi Bernhard, thanks for your detailed information! Let's hope the patch will make it into symfony soon. I'm already using the sfTaskExtraPlugin. The problem I actually had was thet the bootstrap scripts were not working out of the box for me as they don't have access to the symfony libs by default.. I changed them for my needs and now I can write tests. But I'm not that successful so far.. Testing seems to be pretty hard - documentation is not that good here. For example, I need to test several "myUser" methods and currently I wonder why there is no session cookie when using this: $browser = new sfTestFunctional(new sfBrowser()); $browser->get('/some/url')->with('request')->hasCookie('symfony'); no session cookie here Is there a trick to enable cookies for testing? regards, Matthias --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---