MSTest doesn’t work
VS2008中创建了一个project用来做单元测试,在IDE中运行一切正常。然后用mstest命令行去执行,总是失败。错误消息是:
Exception has been thrown by the target of an invocation.
用Gallio 3.1也是一样的错误。
最后抱着试试看的想法,用VS2010中的mstest重试,通过!
失败的原因还是不知道。难道是不同版本之间的冲突?据说VS2008是外包给腾讯做的,2010外包给了360吧。
If you love him, teach him C++, for it's heaven;
If you hate him, teach him C++, for it's hell
If you hate him, teach him C++, for it's hell