代码改变世界

随笔档案-2010年08月

Asp.net mvc +Ajax +Extjs+NHibernate 系列之单元测试

2010-08-03 23:55 by c#在路上, 602 阅读, 收藏,
摘要: 概述使用单元测试框架,Nunit。包括对controller的测试,以及moq框架的使用。详解1,数据库层Service的单元测试引入:using NUnit.Framework;代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--[TestFixtu... 阅读全文