Unit Testing of actions
If I need to Unit Test my actions, how do I do it? Do I need to use 开发者_StackOverflow中文版/test/bootsrap/ for that?
Functional tests is what you need to write. They do exactly what you need:
It calls your action with different parameters and test your response.
精彩评论