I've got this problem too. But i'm using sfPhpunitPlugin.
I solved this problem by running tests is isolated php processes with
PHPUnit 3.4

Also, read this thread: 
http://groups.google.com/group/symfony-devs/browse_thread/thread/db7833df51238ba7

My fork of sfPhpunitPlugin: 
http://github.com/maxim-oleinik/sfPhpunitPlugin/commits/patched
Max

On Sep 8, 4:07 pm, Martin <mcn...@gmail.com> wrote:
> I need to write a test which does tests in the frontend and backend
> application.
> I tried to switch the Context from frontend to backend with
> "sfContext::createInstance" and "sfContext::switchTo" but run into
> problems cause some classes like sfGuardAuth are redefined.
> Is there an elegant way for cross application functional testing in
> symfony?
>
> Martin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to