通过命令行进行 MStest 进度
我正在从命令行运行一个大型 mstest 套件,大约需要 15 分钟才能完成。一旦开始,命令窗口的输出如下...
Microsoft (R) Test Execution Command Line Tool Version 10.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.
Loading SetupTestRun.testrunconfig...
Loading Test.BusinessLibrary\All.orderedtest...
Starting execution...
它一直保持这样,直到测试完成,然后将所有结果一大批转储到屏幕上。无论如何,是否可以在命令窗口中获取测试的运行进度,以便我可以看到 a) 进展情况以及 b) 已通过和失败的内容?
干杯,
Sam
编辑:要明确的是,我们正在运行有序测试,而不是测试列表。
I am running a big mstest suite from the command line that takes about 15 minutes to complete. Once started the output to the command window is as below...
Microsoft (R) Test Execution Command Line Tool Version 10.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.
Loading SetupTestRun.testrunconfig...
Loading Test.BusinessLibrary\All.orderedtest...
Starting execution...
It remains like this until the test finishes and then dumps all the results to the screen in one big batch. Is there anyway to get a running progress of the tests to the command window so I can see a) how far it has progressed and b) what has passed and failed?
Cheers,
Sam
EDIT: To be clear, we are running an ordered test, not a test list.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,可以
根据 MSDN
Yes, is possible
Accordingly with MSDN
根据我的经验,每次测试发生时,似乎每次测试都会输出一行。因此,您可以了解总体进度,但无法了解测试中的进度。
我现在正在寻找一种方法,让它说 test 1/100 test 2/100 等等会很好。
From my experience it seems to output one line per test as each test happens. So you get an idea of progress overall but not the progress within a test.
I am now looking for a way for it to say test 1/100 test 2/100 etc. would be nice.