0.3.3 • Published 4 years ago

@cucumber-e2e/gherkin-parallel v0.3.3

Weekly downloads
9
License
MIT
Repository
github
Last release
4 years ago

Gherkin Parallel

The module is intended to separate feature files for their further parallelization by protractor or webdriverIO. Existing scenarion and scenario outlines will be splitted into separate feature files in temporarary folder.

Function params

nametypemandatoritydefaultdescription
specsArray\Mglob patterns of specs to split
outDirstringMpath to temp folder
tagExpressionstringOtag expression to filter splitted features
langstringOenlanguage of source features
splitScenarioOutlinesbooleanOtruesplit scenario outlines

return Promise\<void>

Splitted features will be placed in temp folder with \.\.feature name (e.g Login.1543659379787.feature)

const compile = require("@cucumber-e2e/gherkin-parallel");

await compile({
    specs: ["./test/scenarioOutline.feature"],
    outDir: "./temp_folder",
    tagExpression: "@scenarioOutlineTag1",
    lang: "en",
    splitScenarioOutlines: true
});
0.3.3

4 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.3

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.1

5 years ago