Angular E2E测试 - 量角核框架创建数百个奇怪的缓存文件
在Angular
项目中,我们使用protractor-Cucumber-Framework
我们的e2e tests
。运行了所有E2E测试后,它不仅会更新results.json
and results.xml
file(对我来说这似乎是正常的),而且还会生成数百个隐秘,在新的null
文件夹下的不可启用的缓存文件(请参阅附件屏幕快照)。这些新文件实际上有近1000个。这是正常的吗?有人可以告诉我这些是用来的以及如何防止这种情况吗?
In an Angular
project, we're using the Protractor-Cucumber-Framework
for our E2E tests
. After running all my E2E tests, not only does it update a results.json
and results.xml
file (this seems normal to me), but it also generates hundreds of cryptic, un-openable cache files under a new null
folder (see attached screenshot). There are literally almost 1000 of these new files. Is this normal, and can anyone tell me what these are for and how to prevent this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我通过评论一行
' - disk-cache-dir = null',
在chromeoptions
属性protractor.conf.js :
I've disabled these files being created on every test run by commenting out a line
'--disk-cache-dir=null',
in thechromeOptions
property ofprotractor.conf.js
: