测试影响分析显示未更改任何代码时受影响的测试 [英] Test Impact Analysis shows impacted tests when no code has been changed

查看:97
本文介绍了测试影响分析显示未更改任何代码时受影响的测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很难让TIA正常工作.我的期望是我可以执行以下操作:

I'm having a hard time getting TIA to work how I'd expect it should work. My expectation is that I can do the following:

-签入代码

-获取最新信息

-建立基准线

-第二次构建以创建第二个构建以与之前的构建进行比较

- Build a second time to create a second build to be compared with the previous

-在TIA窗口中看不到受影响的测试

- See no impacted test in the TIA window

但是,按照这些步骤,当我没有签出任何代码并且在更新并构建两次之后,我仍然看到受影响的测试.有人可以解释一下如何使TIA进入TIA列表中未显示测试的状态吗(例如,良好的开端) 弹性).

However, following these steps I still see impacted tests when I've got no code checked out and after getting latest and building twice. Can someone pleae explain how I can get TIA into a state where not tests are shown in the TIA list (e.g. a good starting ponit).

谢谢,请不要将此线程移至实验室论坛,那里已经有一个线程.

Thanks and mods please don't move this thread to the lab forum, there is already one there.

推荐答案

您好瑞安,

您的期望是正确的.您可以尝试删除Testimpact数据库(它应该位于测试项目文件夹"testimpact.sdf"中),然后查看是否可以恢复为干净状态(建议您在删除文件之前备份该文件).我正在查 内部是否存在数据库状态的已知问题.

You expectation is correct. Can you try deleting the Testimpact database (It should be in your test project folder "testimpact.sdf") and then see if you can revert to the clean state (I will suggest backing up the file before you delete it). I am checking internally if there are known issues with the database state.

 

谢谢

Abhishek [MSFT]

Abhishek[MSFT]


这篇关于测试影响分析显示未更改任何代码时受影响的测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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