简体   繁体   English

Chrome 开发工具 - 导航期间的代码覆盖率

[英]Chrome Dev Tools - Code Coverage during navigation

The new code coverage feature is really awesome, but it can only test one page.新的代码覆盖功能真的很棒,但它只能测试一页。

Obviously noone has a site where you can see all abstractions and modules at once.显然没有人有一个站点可以让您一次查看所有抽象和模块。 This might be the case on SPAs, though.不过,SPA 可能就是这种情况。

So the question is:所以问题是:

Is there a possibility to capture the information across multiple sites during navigation?是否有可能在导航期间跨多个站点捕获信息?

Tested in Chrome 63.0.3239.132在 Chrome 63.0.3239.132 中测试

Nope.不。 Unfortunately it sucks a lot - it - does not save state between pages/ sub-pages: osx + chrome version 64.0.3282.167 (Official Build) (64-bit).不幸的是,它很糟糕 - 它 - 不保存页面/子页面之间的状态:osx + chrome 版本 64.0.3282.167(官方构建)(64 位)。 For now it's just toy to play, but not (yet) tool for production.目前,它只是用来玩的玩具,但还不是(还)用于生产的工具。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM