Test lists with VS 2015? RRS feed

  • Question

  • Running ASP.net 4.5

    I need to run mstest via the command line (build server).

    Apparently I can do this with test lists, but this doc is only for VS 2010 and I have 2015 and I can't see that option in 2015. But I do see something called "playlist"?

    Essentially all I want is to define all my test settings in a file and refer to it from the command instead of having to run it each time for each test dll and each individual test.

    How do I accomplish this?

    Monday, August 14, 2017 9:53 PM

All replies

  • Dear friend,

    Thanks for your posting.

    >>But I do see something called "playlist"?

    For how to use playlist, which you could several test cases in VS, I could show you the configuration as below:

    Step 1 : Select Unit Test methods together for which you want to create a playlist.

    Step 2 : Navigate to Add to Playlist –> New Playlist

    Once you select the “New Playlist”, a Create new file dialog will come up where you need to specify the name of the playlist file.

    And That’s all ! You are Done !

    You can then group by / run your test based on the playlist you have created.

    Once a playlist is selected, all the filters, grouping and other operation on unit test would be applied only to the playlist.

    But as you also mentioned run tests by command line, and we have another particular setting for this: test categories, please refer to the official doc below which demonstrate with details:

    How to: Group and Run Automated Tests Using Test Categories

    Hope above helps.

    And please feel free to me know if you have any doubts.


    Best regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Edited by Fletch Zhou Tuesday, August 15, 2017 2:12 AM
    • Proposed as answer by Fletch Zhou Thursday, August 17, 2017 5:46 AM
    Tuesday, August 15, 2017 2:12 AM