Does anyone know of a solution for unit testing what your controller action does (eg redirects to a page, renders a certain view, …)? ZF has this sort of functionality with Zend_Test_PHPUnit_ControllerTestCase, and it would be great if yii had something similar.
I agree it could be done with functional testing, but it seems reasonable to want to test the action methods as part of your controller’s unit tests. Utilizing selenium for this sort of thing is not always ideal either.