Protractor Cucumber Framework
![Build Status](https://travis-ci.org/protractor-cucumber-framework/protractor-cucumber-framework.svg?branch=master)
This framework was originally part of angular/protractor and
is now a separate module to decouple cucumber.js.
Install
npm install --save-dev protractor-cucumber-framework
Implementation
To implement this framework, utilize the protractor
custom framework config option:
exports.config = {
framework: 'custom',
frameworkPath: require.resolve('protractor-cucumber-framework'),
specs: [
'path/to/feature/files/**/*.feature'
],
cucumberOpts: {
require: [
'path/to/step/definitions/**/*.steps.js'
]
}
};
Contributing
Pull requests are welcome. Commits should have an appropriate message and be squashed.
For Contributors
Clone the github repository:
git clone https://github.com/protractor-cucumber-framework/protractor-cucumber-framework
cd protractor-cucumber-framework
npm install
Start up a selenium server:
npm run webdriver
Start up the test app that tests will be run against in a separate shell:
npm start
Run the tests in a separate shell:
npm test