我正在研究应用程序中的某些行为,并进行了一贯使测试引擎崩溃的测试。我简化了测试代码到这一点: [TestMethod, Timeout(2000)]
public void ShowDialogShouldCleanupAfterException()
{
var topWindow = new Window();
topWindow.Loaded += (sender,
我一直有这个反复出现的问题,我的一些.Net框架4.5和4.6和4.7项目没有通过测试浏览器发现他们的测试。在“测试”日志输出显示: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047) 这就是所有的信息,我有。 我已经尝试了几乎所有不同版本的MSTest.Framework和适配
更新TestFramework An exception occurred while invoking executor 'executor://mstestadapter/v2': Constructor on type 'Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.UnitTestRunner' not f
我已经继承了一个包含单元测试项目的visual studio 2017解决方案。看起来与测试相关的唯一项目引用是Microsoft.Owin.Test。测试包括TestClass和TestMethod属性(在microsoft.visualstudio.testtools.unittesting中定义) 那么,这是否意味着我正在使用MSTest或? 我试图追踪一个问题,当我试图直接运行该类的测试(