2

In VS2010 we used to have a Testlist option to group test cases. And I can ran those easily through command-line using MSTest /testlist option. Now I'm using VS 2013 and we have option of Playlist to group test. But I don't see this playlist option in MSTest command-line.

Do we have any workaround? I have to run the tests from command line from a Jenkins job.

1 Answer 1

2

You could use Test Categories to group your unit tests. You could then use either vstest.console.exe with the parameter /TestCaseFilter:"TestCategory=MyCategoryForJenkins" or MSTest with the parameters /testcontainer:MyTests.dll /category:"MyCategoryForJenkins".

1
  • I know it's an old question, but I stumbled across it and felt that the answer was still relevant for Jenkins set-ups today.
    – Jon
    Commented Mar 9, 2016 at 18:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.