When Testing controllers, what should I be testing?
I just got involved in using the CakePHP test suite, and I have been
using it to test my models quite successfully. 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? I have read the
cookbook and Mark story's blog post on testing controllers, but I
would just like to know how other people are testing their
controllers.
Thanks
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 cake-php@googlegroups.com
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?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home