locked
Novice: Created my first Unit Test case but no output in the Test Results RRS feed

  • Question

  • Hello,

    Thank you for reviewing my question. 

    I created a simple test case and it works but I expected to see the test name and results in the Test Results Window (next to the Output Window) instead of the Test Explore.  Why is this?

    Many Thanks

    Peter

    Thursday, June 6, 2013 12:10 AM

Answers

  • Hello,

    Thank you for your post.

    I assume that you are working with VS2012. In this case, there will be not .trx file for VS2012 IDE test running. So you will not see test results in Test Results window.

    But you can generate .trx when running tests with MSTest from command line.
    You can use commandline paramater /resultsfile to generate trx file. After that you will see test results when you open the .trx file.

    For more information, please see:

    MSTest.exe Command-Line Options

    Best regards,


    Amanda Zhu [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Amanda Zhu Thursday, June 13, 2013 1:13 AM
    Friday, June 7, 2013 7:13 AM