jest-test-runner-cucumber
v0.1.0
Published
[Cucumber](https://github.com/cucumber/cucumber-js) as Jest test runner
Downloads
91
Maintainers
Readme
jest-test-runner-cucumber
Cucumber as Jest test runner
Usage
Install
Install jest
and jest-test-runner-cucumber
using npm
:
npm install --save-dev jest jest-test-runner-cucumber
Or using yarn
:
yarn add --dev jest jest-test-runner-cucumber
Add it to your Jest config
{
"moduleFileExtensions": ["feature", "js", "json", "jsx", "node"],
"testMatch": ["**/*.feature"],
"testRunner": "jest-test-runner-cucumber"
}
Alternatively you can use jest-preset-cucumber
.