【问题标题】:How to set the timeout of a functional tests with the Intern?实习生如何设置功能测试的超时时间?
【发布时间】:2013-11-08 14:39:45
【问题描述】:

我正在使用 Intern 针对 Web 应用编写功能测试,我想为我的每个功能测试定义一个 > 30 秒的超时时间(30 秒是 Intern 测试的默认超时时间)。

我在文档中找不到任何相关内容。有人知道怎么做吗?

感谢您的帮助!

【问题讨论】:

    标签: intern


    【解决方案1】:

    此信息可在Asynchronous Testing 文档中找到。将测试中的this.timeout 设置为以毫秒为单位的值。

    【讨论】:

      猜你喜欢
      • 2023-03-30
      • 2015-10-13
      • 1970-01-01
      • 2015-12-30
      • 2014-05-21
      • 2015-06-18
      • 1970-01-01
      • 1970-01-01
      • 2016-02-11
      相关资源
      最近更新 更多