SharpDevelop2.2与NCover-1.5.8的整合
2008-01-06 21:21
387 查看
SharpDevelop2.2与NCover-1.5.8的整合
陈能技
2008-1-6
首先下载并安装SharpDevelop2.2,版本号为2.2.1.2648 。下载地址:
http://www.sharpdevelop.com/OpenSource/SD/Download/
然后下载并安装NCover-1.5.8,下载地址:
http://www.ncover.com/download/discontinued
Ncover目前已经转向商业化,但是仍然提供1.5.8版本以前的旧版本的下载。NCover的网站上是这样说的:
Because NCover has been free of charge (albeit in pre-release status) for an extended period of time, we've decided to continue to make these downloads available to the developer community. Gnoso does not offer support for discontinued versions of NCover. Gnoso also does not make any guarantees or warranties concerning such unsupported software.
安装NCover-1.5.8 Beta版本时,发现安装目录不能选择,只能接受默认安装目录(C:/Program Files/NCover)
打开SharpDevelop,选择“Tools | Options | Tools | Code Coverage”,在NCover Configuration的Command中选择NCover安装目录下的“NCover.Console.exe”(C:/Program Files/NCover/NCover.Console.exe)。
以代码覆盖率的方式运行单元测试,可通过在测试方法中点右键,选择“current method | unit tests | run with code coverage”运行,也可通过选择“View | Tools | Unit Test”,在出现的“Unit Test”管理界面中选择“run with code coverage”运行。
运行后,在“code coverage”界面出现测试代码覆盖率结果,在代码中用红色标注未覆盖到的代码行,用绿色标注已覆盖的代码行。
陈能技
2008-1-6
首先下载并安装SharpDevelop2.2,版本号为2.2.1.2648 。下载地址:
http://www.sharpdevelop.com/OpenSource/SD/Download/
然后下载并安装NCover-1.5.8,下载地址:
http://www.ncover.com/download/discontinued
Ncover目前已经转向商业化,但是仍然提供1.5.8版本以前的旧版本的下载。NCover的网站上是这样说的:
Because NCover has been free of charge (albeit in pre-release status) for an extended period of time, we've decided to continue to make these downloads available to the developer community. Gnoso does not offer support for discontinued versions of NCover. Gnoso also does not make any guarantees or warranties concerning such unsupported software.
安装NCover-1.5.8 Beta版本时,发现安装目录不能选择,只能接受默认安装目录(C:/Program Files/NCover)
打开SharpDevelop,选择“Tools | Options | Tools | Code Coverage”,在NCover Configuration的Command中选择NCover安装目录下的“NCover.Console.exe”(C:/Program Files/NCover/NCover.Console.exe)。
以代码覆盖率的方式运行单元测试,可通过在测试方法中点右键,选择“current method | unit tests | run with code coverage”运行,也可通过选择“View | Tools | Unit Test”,在出现的“Unit Test”管理界面中选择“run with code coverage”运行。
运行后,在“code coverage”界面出现测试代码覆盖率结果,在代码中用红色标注未覆盖到的代码行,用绿色标注已覆盖的代码行。
相关文章推荐
- SharpDevelop2.2与Fxcop的整合
- 编译 SharpDevelop2.2源码 经过
- 整合apache2.2.x和tomcat5.5(转)
- JSP环境配置 Apache2.2和Tomcat5.5整合
- 在 CentOS 5 整合 Apache2.2+Tomcat5
- ubuntu12.04下tomcat7.0+apache2.2的整合
- Struts2.2+Spring3.1+Hibernate3.6整合(登录示例及CRUD操作)
- Spring定时任务,Spring4整合quartz2.2,quartz-scheduler定时任务
- CodeIngiter 2.2.x 与 Smarty3 整合的方案 解决CI的不足
- Apache2.2+Tomcat7.0整合配置详解
- apache2.2 Tomcat7 整合
- apache2.2 + tomcat6 整合以及集群配置整理
- Windows下整合Apache2.2和Tomcat6.0 集群与负载均衡
- Apache 2.2整合tomcat后进行多域名跳转
- 自己动手定制NUnit(三):整合ncover生成代码覆盖率报表
- 使用Apache2.2整合Tomcat6配置单机服务器集群解决方案
- (6)apache2.2用proxy_ajp方式整合tomcat6.0
- Apache2.2+Tomcat7.0整合配置详解
- 代码覆盖率之NCover整合NUnit