是否可以并行运行量角器测试套件? [英] Is it possible to run Protractor Test Suites in Parallel?

查看:44
本文介绍了是否可以并行运行量角器测试套件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有量角器配置文件:

exports.config = {
  suites: {
    BVT : 'e2e/TestSuites/_BVT/*.js',
    Full : 'e2e/TestSuites/Full/**/*.js',
    Smoke : 'e2e/TestSuites/Smoke/*.js',
        Login1 : 'e2e/TestSuites/Login/*.js'
            };
  capabilities: {
     'browserName': 'chrome',
     shardTestFiles: true,
     maxInstances: 3
      };
};

我已经在上面尝试过,但是我的Test Suite无法并行运行,是否有可能在chrome浏览器上并行运行BVT,Full和Smoke测试套件.

I have tried above but my Test Suite doe not run in parallel, is it possible to run BVT, Full and Smoke Test suites in parallel on chrome browser.

推荐答案

可以肯定.看看我如何在套件中运行回归和理智.

Yes possible for sure. Take a look how i am running regression and sanity in the suites.

protractor Test/config.js --suites regression,sanity

这篇关于是否可以并行运行量角器测试套件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆