Search code examples
unit-testingvisual-studio-2015intellitrace

Visual Studio 2015 Unit Test IntelliTrace Results


Where would I find the results saved by IntelliTrace for a unit test in Visual Studio 2015? I checked IntelliTrace in the testsettings file, but can't figure out where I should look to see anything IntelliTrace captured.

I found some links like this video (https://www.youtube.com/watch?v=C6hl8txBGcc), but the "View Results" window in VS2015 doesn't show any results for unit tests.

Thanks for any help!

enter image description here

enter image description here


Solution

  • Firsly, make sure that unit testing engine uses your test setting file. To do so:

    1. Select Test menu from the toolbar.
    2. Test Settings -> Select Test Settings File
    3. Navigate to your file and select it.

    Now, you can run your tests. Then select a test that has failed. In the details, just below a message you will see Output link. Click it.

    enter image description here

    You should see something like that:

    enter image description here

    In the Attachment group box there is your IntelliTrace log.

    You can also find IntelliTrace logs in Test Results directory. By default, it is located in the root of a solution.