Package Exports
- @elements-ft/cucumber-js-glue
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@elements-ft/cucumber-js-glue) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Synopsis
CucumberJSGlue is wrapper on top of cucumberJS to match feature files with their corresponding step_definitions file.
How to Use
Create a glue.json file under the "features" folder with the following structure.
[{
"feature_name": "feature1.feature",
"step_definition" :"step_definitions//feature1.js"
},
{
"feature_name": "feature2.feature",
"step_definition" :"step_definitions//feature2.js"
}
]
Installation
npm i cucumber-js-glue --save
Supported OS
- Windows (Tested)
- Linux