Protractor Execute Tests(within a single spec file) in parallel -
hi have single spec file 4 jasmine tests, below
describe("a suite", function() { it("test1", function() { describe("a suite", function() { it("test2", function() { describe("a suite", function() { it("test3", function() {
i have requirement execute tests(within single file) in parallel, minimize execution time. tried specifying capability below
multicapabilities: { split: true, maxsessions : 2, capabilities: [{ browsername: 'firefox', count: 2 }] }
but doesn't workout. have option share tests within spec file... shardspectests??
as you've seen, shardtestfiles
works @ file level. protractor not support parallel runs @ test level.
i see there pr sharding tests @ suite level, eg: shardtestsuites
. perhaps protractor group open shardtestspecs
, should write , submit one?
Comments
Post a Comment