On 25 ago, 10:58, "j.blotus" <[email protected]> wrote:
> (..) I would like to get
> code coverage going for my controllers, but since they do not return
> anything, what exactly am I going to be testing for? (..)

Basically, you can use the testAction method to test the
variables an action set to the view (my choice) or even
the HTML code rendered.

http://book.cakephp.org/view/1210/Testing-controllers#The-testAction-method-1212

--
MARCELO F ANDRADE
Belem, Amazonia, Brazil

"I took the red pill"

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en

Reply via email to