V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
shijiu1919
V2EX  ›  问与答

关于 cypress 自动化测试的问题。

  •  
  •   shijiu1919 · 2020-02-26 19:50:13 +08:00 · 1031 次点击
    这是一个创建于 1537 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我安装了 code-coverage 的插件,在我的项目文件下,coverage 的文件夹也已经出来了,可是执行我的测试的时候,测试覆盖率会一直显示为 0. coverage 下的 index,html 文件打开之后也是除了表头以外,一片空白,测试中报错:“ Could not find any coverage information in your application by looking at the window coverage object. Did you forget to instrument your application? See code-coverage#instrument-your-application [@cypress/code-coverage]” 有谁可以帮我

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   6205 人在线   最高记录 6547   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 02:41 · PVG 10:41 · LAX 19:41 · JFK 22:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.