0

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) ?

Visual Studio Test Explorer

4

2 回答 2

3

您正在寻找mstest.exe命令行工具。

在堆栈溢出时,您可以在 [mstest] 标记下找到它,例如如何从命令行运行 mstest dll

于 2018-09-20T14:59:08.900 回答