VS 2010中的MSTest + CHESS

时间:2011-06-01 17:54:47

标签: c# visual-studio-2010 mstest

我可以使用CHESS& amp ;;对我的多线程代码进行单元测试VS 2010中的MSTest。我试过这个

[TestMethod]
[HostType("Chess")]
[TestProperty("ChessExpectedResult", "deadlock")]
public void TestMyMethod()
{
...
}

但是我收到以下错误

The host type 'Chess' cannot be loaded for the following reason: The key 'Chess' cannot be found

1 个答案:

答案 0 :(得分:3)

不,CHESS仅支持Visual Studio 2008。

http://research.microsoft.com/en-us/projects/chess/download.aspx