I have a problem when running tests in debug mode in Visual Studio 2008 Team Test, where it gives the following error:
"Failed to start test run {user @machinename} ': The object reference was not installed in the object instance."
I was looking for a mistake, but not joy. I don’t even understand what this means, because it is too short-lived. Has anyone come across this?
Please note that I can run tests normally if I am not debugging and getting the same error no matter which test I run.
Thanks,
Swazi
ETA:
Being new to Visual Studio Team Test, I did not know that there was a better error log than what I saw. One way or another, here it is:
<Exception> System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.VisualStudio.TestTools.TestCaseManagement.QualityToolsPackage. ShowToolWindow [T](T& toolWindow, String errorMessage, Boolean show) at Microsoft.VisualStudio.TestTools.TestCaseManagement.QualityToolsPackage. OpenTestResultsToolWindow() at Microsoft.VisualStudio.TestTools.TestCaseManagement.SolutionIntegrationManager. DebugTarget(DebugInfo debugInfo, Boolean prepareEnvironment) at Microsoft.VisualStudio.TestTools.TestManagement.DebugProcessLauncher.Launch( String exeFileName, String args, String workingDir, EventHandler processExitedHandler, Process& process) at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.StartProcess( TestRun run) at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.RestartProcess( TestRun run) at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy.PrepareProcess( TestRun run) at Microsoft.VisualStudio.TestTools.TestManagement.LocalControllerProxy. InitializeController(TestRun run) at Microsoft.VisualStudio.TestTools.TestManagement.ControllerProxy.QueueTestRunWorker( Object state) </Exception>
unit-testing visual-studio-2008
swmi
source share