We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
是的,有一些优点。 MVC 模式更适合 TDD。在 Visual Studio 2010 中,当您编写引用新类的单元测试时,它会自动删除新类。
更多详细信息请参见此处:
http://visualstudiomagazine。 com/blogs/rdn-express/2009/06/test-driven-development-in-vs-2010.aspx
-Krip
Yes there are advantages. The MVC pattern is better suited to TDD. And with Visual Studio 2010 it will automatically stub out new classes as you write your unit tests that reference them.
More details here:
http://visualstudiomagazine.com/blogs/rdn-express/2009/06/test-driven-development-in-vs-2010.aspx
-Krip