首页 Soft PlugIn RAN乱 Dev开发 Info资料 English WAP 留言 登陆 注册
-
Posted by Yippee | 评论(1) | 引用(6) | 阅读2378次
VS.NET集成单元测试工具TestDriven.NET-1.1.1048d 升级

原来我使用的版本是:TestDriven.NET-1.0.915d.zip,参见说明TestFixture Test testdriven 测试驱动 ,结果今天使用的时候发现如下情况,直接运行OK,但是调试模式不行。最后发现需要升级到TestDriven.NET-1.1.1048d ,原因就是因为安装了或者安装过又卸载了VS.NET 2005或者 EXPRESS版本。我的情形的确如此。

------ Test started: Assembly: SGIPSP.exe ------ 直接 Run Test(s)
debug with testdriven.net!

1 succeeded, 0 failed, 0 skipped, took 0.02 seconds.

---------------------- Done ----------------------

------ Test started: Assembly: SGIPSP.exe ------DEBUG Test With... Debugger

---------------------- Done ----------------------

搜索了一下,发现这个 http://weblogs.asp.net/nunitaddin/archive/2005/04/30/405148.aspx

'Test With... Debugger' - Fixed!  Test Driven .NET  Zero Friction Unit Testing for Visual Studio .NET  修正VS.NET无阻力单元测试www.shengfang.org
It has been a frustrating few days getting 'Test With... Debugger' working again when any of the Beta2 products are installed (VS2005 or Express).  It turns out there are two completely independent issues.  One breaks debugging in VS2003 when installed side-by-side with VS2005.  The other appears to be an issue with the VS2005 debugger itself (it crashes when it can't find one of the PDB files).  I've created a new installer with workarounds for both of these issue.

如果VS.NET BETA2任一一个版本的软件安装之后,包括VS2005或者体验版本, TD(调试模式下的单元测试)不工作,这个问题困扰了我一段时间。它造成两个完全不同的结果。一个是如果VS.NET2003和VS.NET2005并存,它将中断VS.NET2003的调试。www.shengfang.org另一个看上去好像是导致VS2005调试自己,如果VS2005找不到PDB文件,软件将崩溃。我做了一个新的安装文件解决以上两个问题。

The other day I mentioned a way to get debugging working again in VS2003 (by adding a 'bindingRedirect' to Visual Studio's 'devenv.exe.config' file).  Unfortunately this has side effects of its own and prevents the command bar buttons from being installed on a fresh install of TestDriven.NET.  Everything worked just fine assuming TD.NET had already been installed.  If you made this change, I would recommend rolling it back and installing the new version.

有一天我提及让调试模式正常的方法(增加一个选项到VS CFG文件中),不幸的是它对它自己起到了负面影响,如果是新安装的TN,它将阻止工具条按钮初始化? www.shengfang.org除非是覆盖以前老版本TD.NET安装,它将工作良好。如果你更新了这个版本,我建议你卸载并安装最新版本。

There are a couple of other changes worth mentioning.  I've updated the 'QualityTools' test runner so that is works with the latest VSTS 'Test Project's.  I've also improved the plug-in model for test runners.  You'll need this version if you want to use the version of MbUnit on Tigris with TD.NET.  Everything is there to build your own compatible MbUnit installer (using MSBuild + Wix).

在此还有一些修改值得提起,我更新了品质空间测试运行,现在它可以和最新的 VSTS 测试工程一齐运行。我还改良了测试信使插件模式,如果你想用最新版本的MBUNIT和TD.NET协同工作,你应该升级到新版本。建立你自己的兼容的MBUNIT安装包?www.shengfang.org

You can find the new build here.  Please let me know how you get on so I know when to make a higher profile announcement.

你可以在此找到最新安装包,请告知我你的发展,让我知道何时发布更高层面的公告?www.shengfang.org


字体:

Permanant URI永久地址 http://www.shengfang.org/blog/p/TestDrivenNET111048d.php
Trackback URI引用地址 http://www.shengfang.org/blog/tb.php?tb_id=1120193580

2005年7月1日12:53星期五  [Dev开发] 追踪此文的RSS
路过在 2007年12月16日00:12星期日 评论:

称呼:    登陆   注册
   不注册,但记住我的信息
邮件:
(非必须)
评论: [UBB代码帮助]
粗体 斜体 下划线 链接 水平线 引用



验证码: 请输入你看见的数字
关闭UBB      提交时自动将内容复制到剪贴板

公告
Fire and Motion!

统计信息
[Yippee]||[统计]||日志:1858
在线: 6||用户: 2577 [列表]
今日:396||到访:2886460
Rss:897741||评论:1605

最新日志

最新评论

友情链接

日历
2008 - 08
     12
3456789
10111213141516
17181920212223
24252627282930
31      

最新引用

搜索

归档

杂项
Get RSS Feed (Version 2.0)
Get Atom Feed (Version 0.3)
编码:  UTF-8