Reputation: 1815
While I'm developing, I often have to run about 5-6 tests to populate the data I need for tests. I want to automate this so I don't have to right-click/"Run" every time.
How can I get the command that VS is running so that I can just put it into a quick script that runs all the tests I need to run, in a single click (or single command) ?
Upvotes: 0
Views: 2100
Reputation: 82
The mstest.exe command line tool is what you are looking for.
Here on stack overflow, you find it under the [mstest] tag, for example how to run an mstest dll from command line
Upvotes: 4