05 2015 档案

摘要:有的时候我们需要对Razor最后生产的文本(HTML OR XML OR..)进行单元测试。使用Nuget安装RazorEngine。新建一个ASP.NET MVC项目,并且带有测试项目。修改Index.cshtml@using TestRazor.Models@model TestModelThi... 阅读全文
posted @ 2015-05-15 17:09 Agile.Zhou 阅读(499) 评论(1) 推荐(1) 编辑
摘要:If you want to unit test a private method, something may be wrong. Unit tests are (generally speaking) meant to test the interface of a class, meaning... 阅读全文
posted @ 2015-05-12 00:09 Agile.Zhou 阅读(195) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
主题色彩