VS 2010中的MSTest + CHESS

Ris*_*abh 5 c# mstest visual-studio-2010

我可以在VS 2010中使用CHESS和MSTest对我的多线程代码进行单元测试.我试过这个

[TestMethod]
[HostType("Chess")]
[TestProperty("ChessExpectedResult", "deadlock")]
public void TestMyMethod()
{
...
}
Run Code Online (Sandbox Code Playgroud)

但是我收到以下错误

The host type 'Chess' cannot be loaded for the following reason: The key 'Chess' cannot be found
Run Code Online (Sandbox Code Playgroud)