visual-studio - MS VS 测试运行程序异常

标签 visual-studio unit-testing visual-studio-test-runner

在测试完成后,我总是会遇到以下异常,并且测试运行器正在关闭。这是正常的吗?当我遇到一堆随机异常时,我总是感到相当担心..

The thread '' (0xc04) has exited with code 0 (0x0).

A first chance exception of type 'System.ComponentModel.Win32Exception' occurred in System.ServiceModel.dll

A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll

System.Transactions Critical: 0 : http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/UnhandledUnhandled exceptionvstest.executionengine.exeSystem.AppDomainUnloadedException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089Attempted to access an unloaded AppDomain. System.AppDomainUnloadedException: Attempted to access an unloaded AppDomain.

The thread '' (0xdd8) has exited with code 0 (0x0).

'vstest.executionengine.exe' (Managed (v4.0.30319)): Loaded 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\CppUnitFramework\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.TestEngine.dll' 'vstest.executionengine.exe' (Managed (v4.0.30319)): Loaded 'C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\TESTWINDOW\Extensions\CppUnitFramework\Microsoft.VisualStudio.TestTools.CppUnitTestFramework.Discoverer.dll'

The thread '' (0xa64) has exited with code 0 (0x0).

A first chance exception of type 'System.InvalidOperationException' occurred in Microsoft.VisualStudio.TestPlatform.TestExecutor.Core.dll

A first chance exception of type 'System.ServiceModel.CommunicationObjectAbortedException' occurred in System.ServiceModel.dll

等等

最佳答案

关于visual-studio - MS VS 测试运行程序异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17438922/

相关文章:

msbuild - vstest.console.exe 未生成 trx 文件,TestResults 为空

wpf - 发布时 Visual Studio 2017 先决条件中缺少 .NET Framework 4.0

visual-studio - 模拟器在 Windows 10 上的奇怪行为

android - MSBUILD : cordova-build error : Error: cmd: Command failed with exit code ENOENT

java - easymock 意外行为

java - Mockito - 验证方法是否重启次数?

vb.net - 在 VB.net 中用代码创建串行端口

spring - ils。使用内部的Spring bean测试命令对象

visual-studio - 在没有 NuGet 的情况下在 Visual Studio 上安装测试运行器