Protractor: 'splitTestsBetweenCapabilities:true not able to split

Created on 11 Jul 2014  路  4Comments  路  Source: angular/protractor

Hi,

I gave
' splitTestsBetweenCapabilities:true'
how to split the test cases into different parallel threads.

Thanks
OmPrakash

docs question

Most helpful comment

Hi! This option was available only briefly and has been removed in recent versions. Instead, use capabilities: {shardTestFiles: true} as described here.

May I ask where you're finding info saying to use splitTestsBetweenCapabilities, so that we can update it?

All 4 comments

Hi! This option was available only briefly and has been removed in recent versions. Instead, use capabilities: {shardTestFiles: true} as described here.

May I ask where you're finding info saying to use splitTestsBetweenCapabilities, so that we can update it?

Thank you for your reply. i read in angular/protractor/issues/870.
Again here one doubt if we are using multiCapabilities capabilities will ignore.
we have to share the files in multiCapabilities: correct ?

Yes do not have multicapabilities and capabilities at the same time.
I'm not sure what you mean by share the files, but the specs defined in config.spec is used for every capability in multiCapabilities. However, within each capability of multiCapabilities you can define additional specs

Thank you for reply.

Was this page helpful?
0 / 5 - 0 ratings