TestDrivenDNNModule(翻译)

http://www.codeplex.com/TestDrivenDNNModule
Project Description 项目说明
This project demonstrates how to build a fully unit tested DotNetNukeModule.
这个项目演示了如何建立一个完整的单位测试dotnetnuke模块。

The objective of this project is to build a thorough example of how to create unit tested and automation tested DNN modules.
这个项目的目标是建立一个完整的例子示例如何为DNN模块创建单位测试和进行自动化测试。
We are using the Passive View Pattern, RhinoMocks and Watin to acheive this.
我们所使用的被动视图模式,RhinoMocks( 一款在.Net平台下的Mock工,Mock对象是一种方便写单元测试的辅助工具。当被测试的某个类需要依赖其它类的时候,采用Mock对象可以模拟出依赖对象的类型和一些特定的调用,从而隔离了被测试单元之间的互相影响。) 和Watin( WatiN 是一个源自Watir的工具,用于测试Web页面。WatiN表示Web Application Testing in .NET。) 以达到这个目的。
This project is being built against Cambrian so the new IOC code can be used to make use of mock objects easier.
这个项目建立在Cambrian( DNN version 5.0 (代号"Cambrian"))下,以便新的IOC代码可以更容易的利用mock对象。
These projects only work against DNN 5.
这些项目仅工作在dnn 5下 。

Blog Posts on this project
关于这个项目的博客帖子
http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/1732/Default.aspx
http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/1733/Default.aspx
http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/1739/Default.aspx

Read this post for step by step instructions on how to use this template.
读这些帖子逐步了解如何使用这些模板。

http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/1899/Default.aspx

There is now a release of this project.
这是这一项目的最新发布。
When using these templates make sure you add the test project first and add it into a sub folder of where you will develop the module.
首先,当使用这些模板时请务必添加一个测试项目,并将其添加到一个您开发模块的子文件夹中。 This template does not need to be developed under DesktopModules so create a folder for the module and then a sub folder called Tests under it.此范本,并不需要制定下desktopmodules ,使创建一个文件夹,该模块,然后一个小组的文件夹下,所谓的测试。
Then follow the instructions in teh documetnation.htm file that opens on project creation.然后遵照在项目创建中打开的documetnation.htm文档的指示。

转载于:https://www.cnblogs.com/GDLMO/articles/1263955.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值