如何在已执行并传递测试套件时更改Microsoft测试管理器2015中的配置 [英] How to change configuration in Microsoft test manager 2015 when test suite is already executed and passed

查看:75
本文介绍了如何在已执行并传递测试套件时更改Microsoft测试管理器2015中的配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

测试用例已经执行并通过但配置不同。如果想改变通过测试用例的配置可以做些什么?我尝试更改配置,但该测试用例从通过部分移至活动部分。并且所有证据在移动到活动状态时被删除。

如果不想丢失证据,请提出解决方案。



我尝试过的方法:



测试用例已经执行并通过但配置不同。如果想改变通过测试用例的配置可以做些什么?我尝试更改配置,但该测试用例从通过部分移至活动部分。当所有证据移动到活动状态时,所有证据都会被删除。

Test case is already executed and passed but with different configuration. In case want to change configuration of passed test case what can be done? I tried changing the configuration but that test case moved to 'Active' section from 'Passed' section. and all evidences are removed as it is moved to 'Active' state.
Please suggest solution if don't want to loose evidences.

What I have tried:

Test case is already executed and passed but with different configuration. In case want to change configuration of passed test case what can be done? I tried changing the configuration but that test case moved to 'Active' section from 'Passed' section. and all evidences are removed as it is moved to 'Active' state.

推荐答案

严重吗?你有没有想过你刚才说的话?



更改测试配置会使测试的结果无效!



如果您想为同一测试使用不同的配置,请使用不同的配置创建测试副本。要么就是这样,要么你必须编写一个调用另一种方法来完成实际工作的测试,但可以用不同的配置调用。



但是你不应该这样做!这违反了编写简单,自包含测试的规则。说实话,根据你的要求,我觉得你已经违反了这个规则。
Seriously? Did you even think about what you just said?

Changing the configuration of a test invalidates the results from the previous run of the test!

If you want a different configuration for the same test, create a copy of the test with the different configuration. Either that, or you have to write a test that calls another method that does the actual work, but can be called with different configurations.

BUT YOU SHOULD NOT DO THIS! This violates the rules of writing "simple, self contained" tests. Truthfully, based on what you've asked, I get the feeling you already violated this rule.


这篇关于如何在已执行并传递测试套件时更改Microsoft测试管理器2015中的配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆