How to unit test controllers in Yii

Viewed 10665

How's this done? Do I just prepare a $_POST/$_GET/$_FILES set and pass it to the controller? Or is there some more elegant way to test the Yii controllers?

1 Answers
Related