本文介绍了通过Gallio使用Resharper单元测试运行程序进行MSTest的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正试图让重新分配器测试运行器通过 Gallio .

I am attempting to get the Resharper test runner to recognize my MSTest unit tests via Gallio.

我已经安装了以下软件:VSTS 2005 8.0.50727.762翻土机4.1Gallio 3.0.0.285

I have the following installed:VSTS 2005 8.0.50727.762Resharper 4.1Gallio 3.0.0.285

我也在运行Windows XP x64.

I am also running Windows XP x64.

单元测试选项仅显示NUnit可用.我以为我一定有一些版本错误.有人可以指出我正确的方向吗?我是不是树错了树,这仅在VS2k8中有效?

The unit test options only shows NUnit as being available. I am thinking that I must have some versioning wrong. Can someone point me in the right direction? Am I barking up the wrong tree and this is only works in VS2k8?

更新:我将Gallio更新为GallioBundle-3.0.4.385-Setup,它现在显示在R#的单元测试选项中.但是在R#或Icarus中运行测试时出现以下错误:

UPDATE: Well I updated Gallio to GallioBundle-3.0.4.385-Setup and it now shows up in the unit test options for R#. But I get the following error when running tests in either R# or Icarus:

谢谢

推荐答案

这似乎是Gallio问题.它似乎仅支持VS2k8随附的MSTest版本. vsmdi的XML格式在版本之间已更改.

It looks like this is a Gallio problem. It appears to only support the version of MSTest that comes with VS2k8. The XML format for vsmdi has changed between versions.

这篇关于通过Gallio使用Resharper单元测试运行程序进行MSTest的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-16 01:05