Unit Testing Examples

can anyone …

Please share any unit testing examples … i am new to this unit testing … please share your unit testing code … in unit testing we will write code for both models and controllers or only models ? please share your code

This isn’t much help but some of the responses might get you going in the right direction:

http://www.yiiframework.com/forum/index.php/topic/31367-unit-testing/page__p__151071__hl__unit+te+ting#entry151071