shijiu1919
V2EX  ›  问与答

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

  •  
  •   shijiu1919 · Feb 26, 2020 · 1542 views
    This topic created in 2298 days ago, the information mentioned may be changed or developed.

    我安装了 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]” 有谁可以帮我

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   969 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 22:44 · PVG 06:44 · LAX 15:44 · JFK 18:44
    ♥ Do have faith in what you're doing.