
Hi, Have a look at the book "Agile Web Application Development with Yii 1.1 and PHP5". The entire book is written with both unit and functional testing in mind and the book and all examples are written in a TDD way. A more direct answer to you question is that to test application controllers you commonly use "Functional Testing". More information about performing such testing can be found here: http://www.yiiframework.com/doc/guide/1.1/en/test.functional. On Fri, Oct 5, 2012 at 3:53 PM, jamo njoroge <patjayke@gmail.com> wrote:
Hi All, is there anyone who knows how to go about writing unit tests for controllers using Yii?
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Regards Brian Ngure