加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

angularjs – 量角器故障排除

发布时间:2020-12-17 09:28:17 所属栏目:安全 来源:网络整理
导读:在量角器1.5.0中,引入了一个新的 --troubleshoot flag,目前还没有正确记录,但在 changelog中,它指出: Improve error messages and add debug info when the configuration file cannot be parsed a webdriver session cannot be started more than one elem
在量角器1.5.0中,引入了一个新的 --troubleshoot flag,目前还没有正确记录,但在 changelog中,它指出:

Improve error messages and add debug info when

  • the configuration file cannot be parsed
  • a webdriver session cannot be
    started
  • more than one element is found using element

哪些用例 – 排除了命令行参数封面?

我问的原因是这有点混乱:

>不应该默认启用?因为如果有上面列出的错误,有关错误的附加信息将是有帮助的.
>还有相关的–verbose和–stackTrace标志.它们是否与调试和故障排除相关?

目前 – 故障排除有两件事情:

>它解析配置并提供建议
>它打印所有相关的环境变量(OS,量角器版本,框架,功能等),以便当他们报告像我这样的问题时,可以查看这些信息来确定问题是否与环境相关.

现在,– 故障排除旨在帮助无法使量角器运行的用户(不用于故障排除故障测试).而且更像:

if you can’t get protractor to run,run this mode to see if it catches
anything before submitting an issue; if it doesn’t,paste the output
from troubleshoot so we don’t have to ask about OS/version/etc every
time.

话虽如此,有计划增加额外的功能来帮助用户日后对其未运行的测试进行故障排除.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读