-
Notifications
You must be signed in to change notification settings - Fork 355
Debugging the NTVS TestAdapter code with vstest.console.exe
Matt Bierner edited this page Apr 13, 2016
·
6 revisions
This guide explains how NTVS contributors can try to debug the NTVS TestAdapter code when the test adapter is run under vstest.console.exe
- Get NTVS building locally
- Open the
nodejstoolssolution, and set launch target toTestAdapter - Open the properties for the
TestAdapterproject and go to thedebugtab. - Use the following settings:
-
Start External Program=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe -
Command line Arguments="C:\FULL_PATH_TO_EXAMPLE_PROJ\Example.njsproj" /TestAdapterPath:".\BuildOutput\Debug14.0\Binaries\TestAdapter\" -
Working directory= Point to location of localTestFrameworksdirectory -C:\PATH_TO_NTVS_SRC\Nodejs\Product\Nodejs\
- Breakpoints don't seem to be hit.