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

0.3.3
latest
Source
npmnpm
Version published
Maintainers
1
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
splitScenarioOutlinesbooleanOtruesplit scenario outlines

return Promise<void>

Splitted features will be placed in temp folder with <featureName>.<timestamp>.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
});

Keywords

cucumber

FAQs

Package last updated on 02 Nov 2020

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.