开发者

Unit Testing of actions

开发者 https://www.devze.com 2023-04-08 00:17 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消