javascript - 即使分片文件为真,测试也会在量角器中按顺序运行
问题描述
我正在使用量角器运行测试。我有 3 个规格文件,但它仍然按顺序运行我在这里缺少什么?代码 :
capabilities: {
'browserName': 'chrome',
chromeOptions: {
args: ['--headless', "--disable-gpu", "--window-size=1920,1080"]
},
// Ability to run the tests in parallel.
shardTestFiles: true,
maxInstances: 2
},
解决方案
推荐阅读
- php - 如何在 Laravel 中通过电子邮件发送 HTML 格式
- sql - 返回未终止 PL/SQL 过程的管理器的 Oracle 查询
- python - Scipy SLSQP 约束优化并不总是有效
- sqlite - 我怎样才能得到这个 sqlite 查询的结果?
- java - Java DAO 设计 - 返回 MAP 而不是 POJO
- python - 在 Python 中将对象标记为已删除
- javascript - 通过遍历数组来制作对象属性 - JS
- apache-spark - Spark Streams:状态使用
- angular - 在 Angular 应用程序中无法访问资产文件夹中的图像
- python - Pandas:根据另一列的值将列拆分为较小的列