阅读背景:

MVC Web应用程序中的控制器是否应该是可单元测试的?

来源:互联网 

It seems to me that web developers of different programming languages often share different opinions on this. For example, Ruby web developers (with Rails being the dominant framework) appear to think of controllers as glue code, which should have functional tests, but not unit tests. A similar attitude dominates in the PHP world, yet there has been some initiative (e.g. Symfony2).It seems to me that web developers of different




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: