如何从.runsettings文件覆盖runTimeout [英] How to override runTimeout from a .runsettings file

查看:94
本文介绍了如何从.runsettings文件覆盖runTimeout的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直面临一个问题,即我的测试运行包含超过150个测试用例会在6小时后自动中止。

I've been facing an issue wherein my test run consisting of more than 150 Test-cases gets aborted automatically after 6hrs.

在网上搜索后,我遇到了一些与该主题有关的讨论,建议覆盖.TestSetting文件中的runTimeout值;但是没有选择在.runsettings文件中执行此操作。 

After searching on web, i came across some discussions related to the topic which suggest overriding runTimeout value in a .TestSetting file; however there is no option of doing it in a .runsettings file. 

推荐答案

嗨Rugved Sawant,

Hi Rugved Sawant,

我没有找到从.runsettings文件覆盖runTimeout的功能,因为你搜索的结果,我们经常从.TestSettings文件或代码属性(Timeout())设置超时值。

I didn't find the feature to override runTimeout from a .runsettings file, as the result you searched, we often set the timeout value from the .TestSettings file or the code attribute(Timeout()).

参考:

https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2013/ms243175(v = vs.120

最好的问候,

杰克


这篇关于如何从.runsettings文件覆盖runTimeout的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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