Socket
Book a DemoInstallSign in
Socket

@cucumber-e2e/gherkin-parallel

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cucumber-e2e/gherkin-parallel

Feature file splitter for cucumber parallelization

Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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<string>Mglob patterns of specs to split
outDirstringMpath to temp folder
tagExpressionstringOtag expression to filter splitted features
langstringOenlanguage of source features

return Promise<void>

Splitted features will be placed in temp folder with <featureName>.<timestamp>.feature name (e.g Login.1543659379787.feature)

const compile = require("gherkin-parallel");

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

Keywords

cucumber

FAQs

Package last updated on 03 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts