mstest - 通过命令行运行时获取 MsTest.exe 的输出

标签 mstest

当我们通过命令行从 MsTest.exe 运行测试用例时,需要从特定测试运行中获取通过或失败状态

最佳答案

您可以使用/detail 和/usestderr 命令行选项强制将测试状态返回到命令行。详情请阅读:http://msdn.microsoft.com/en-us/library/ms182489(v=VS.100).aspx

关于mstest - 通过命令行运行时获取 MsTest.exe 的输出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7753292/

相关文章:

c# - SpecFlow:ClassInitialize 和 TestContext

c# - 在 MSTest 中忽略从通用基类继承的测试类

c# - 是否可以让 ReSharper 在我的解决方案的所有测试项目中只运行某个类别的测试?

c# - 加里奥错误 : MSTest executable was not found

c# - 使用可移植类库进行异步单元测试

Jenkins 与 MSTest 插件 : "mstest xml coverage report file not found"

c# - mstest异常处理方法

jquery - 您可以使用 MS Test Suite 创建 'Dynamic' 测试吗?

c# - 将自定义类型用于参数化 MSTest

configuration - MSTest 同时执行我的所有测试会破坏测试 - 该怎么做