Jenkins - SonarQube:无需浏览器的 Angular 测试覆盖业力替代方案
我正在尝试找到与Jenkins和Karma一起生成Angular项目的覆盖范围报告的替代方法,问题之所以如此,是因为不允许在公司CI服务器中至少安装无头的浏览器找不到浏览器。
我知道有很多用于测试的框架,但我想请您在没有浏览器的情况下提供Sonarqube的覆盖范围报告。
I'm trying to find an alternative to generate a coverage report for an angular project with jenkins and karma, the problem comes because it is not allowed to install at least a headless browser in the CI servers of the company so Jenkins fails the job due no browser found.
I know there are a lot of frameworks for testing but I want to ask you for the best alternative for coverage report for sonarqube without browser.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决方案:在无法安装浏览器的管道中使用 Jest
Solution: Use Jest for pipelines where you cannot install a browser