本文介绍了“测试影响"指的是Visual Studio MTM提供的功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们是否需要每次都启动应用程序来运行每个测试用例以捕获测试影响"?进行体检吗?

Do we need to launch application everytime to run each test cases to capture "Test Impact" for maual testing?

我在.NET平台中有一个桌面应用程序.

I have a Desktop application in .NET platform.

我在一个计划中确实有50个测试用例,所以对于每个测试用例,我应该启动应用程序50次?

I do have 50 test cases in a plan, so for each test case I should launch application 50 times?

还是有其他选择.我尝试一次选择全部一次并运行,一次运行50个测试用例,然后启动应用程序.但是并不能捕获所有时间的测试影响.

Or is there any other option for the same.I tried to run 50 Test cases at a time by selecting all at once and give run ,then launch application ones.But not all the time test impact is captured.

推荐答案

感谢您在MSDN论坛中发帖.

Thank you for posting in MSDN forum.

据我所知,仅在运行和通过测试时才收集测试影响数据.这将创建一个基线,以收集有效数据,并在运行完整测试时为其使用方法.当测试失败时,仅用于运行的方法的部分数据 可以收集测试.

As far as I know that Test impact data is only collected when tests run and pass. This creates a baseline to gather valid data for which methods are used when the full test is run. When a test fails, only partial data of the methods that were used to run the test could be collected.

参考:

https://msdn.microsoft.com/en-us/library/dd286589.aspx?f = 255& MSPPError = -2147217396

因此,正如您所说的那样,并非所有时间都可以捕获测试影响,所以建议您在从MTM运行这些手动测试用例后,需要检查是否通过了50个测试用例.

So as you said that not all the time test impact is captured, I suggest you will need to check if the 50 test cases are passed after you run these manual test cases from the MTM.

此外,我尝试从MTM一次运行3个手动测试,我发现测试影响数据将附加到测试结果中,文件扩展名为testimpact.xml.

In addition, I tried to run 3 manual tests at a time from MTM, I find that the test impact data will be attached to a test results with a file name extension of testimpact.xml.

因此,如果所有测试用例都通过了,我建议您可以打开testimpact.xml来检查是否收集了所有测试影响数据.

So if all test case run pass, I suggest you could open this testimpact.xml check if all test impact data is collected.

最好的问候,


这篇关于“测试影响"指的是Visual Studio MTM提供的功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 18:11