shijiu1919
V2EX  ›  问与答

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

  •  
  •   shijiu1919 · Feb 26, 2020 · 1695 views
    This topic created in 2384 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   ·   Privacy   ·   Solana   ·   2893 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 11:50 · PVG 19:50 · LAX 04:50 · JFK 07:50
    ♥ Do have faith in what you're doing.