On Dec/28, Matteo Landi wrote:
> Hi everybody,
>
> I have a custom exception handler for all the exceptions raised inside
> controllers; when I run the controllers' testsuite, I noticed that exceptions
> are propagated to the tests instead of being handled by my handler. Is this the
> normal behaviour? What if I want to make some assertions on the output of the
> exception produced by the handler? Is this out of the scope of ControllerTest
> logic or is it ok to test that kind of things inside controller tests?
>
>
> Regards,
> Matteo
>
> --
> http://www.matteolandi.net
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment