我可以使用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
答案 0 :(得分:3)
不,CHESS仅支持Visual Studio 2008。
http://research.microsoft.com/en-us/projects/chess/download.aspx