trivago/cucable-plugin

Disallow property combination scenarioNames and parallelizationMode = features

josepj opened this issue · 4 comments

The option scenarioNames will not work as expected when parallelizationMode is set to features. This is especially true when the feature file has scenario outlines.

Would adding a check to disallow property combination scenarioNames and parallelizationMode = features suffice? I cannot think of a scenario where this combination is absolutely required that scenarioNames and parallelizationMode = scenarios cannot handle.

That makes sense :-)

@laxersaz, the text of the exception has In parallelizationMode = FEATURE, you cannot specify xyz. Would it be better to say In parallelizationMode = features, as a user will specify features or scenarios?

Yes that's true!

Thanks @laxersaz. I have updated the PR.