断言失败对话框 [英] Assertion Failed Dialog Box

查看:72
本文介绍了断言失败对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

以前,当我运行测试(Ctrl R + T)时,如果测试在断言上失败,我以前会得到一个断言失败的对话框弹出并从Dialog指向失败的断言的细线。  我不再弹出此对话框。  
发生了什么?  我在哪里可以找到让Assertion Failed对话框再次显示的设置?  (我正在使用C#)

Previously, when I ran a Test (Ctrl R+T), if the test failed on an assertion I used to get a Assertion Failed Dialog Box pop up and a thin line pointed from the Dialog to the failed Assertion.  I no longer get this dialog popping up.  What happened?  Where could I find the setting to have the Assertion Failed Dialog Box show up again?  (I'm working with C#)

感谢所有

MR

推荐答案

你在哪里进行测试?在MTM还是VS?关于在MTM中进行测试,它不会提示失败断言的对话框。

Where do you run test? In MTM or VS? Regarding doing test in MTM, it won't prompt a dialog box for the failed assertion.


这篇关于断言失败对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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