cucumber-expression-extender
v1.1.1
Published
Extends the existing expression variables ease the process of writing feature files
Downloads
16
Maintainers
Readme
cucumber-expression-extender
Prerequisites | Installation | Manual
Given 21-11-2015 is nice
Given('{dd-mm-yy} is nice '
Given(/^(\d+)\-(\d+)\-(\d+) is nice$/
npm install cucumber-expression-extender
require('cucumber-expression-extender');
Given('{dd-mm-yy} is a nice date',
(dateObject) => {
console.log('indeed nice date ',
dateObject.toString());
});
Given 01-02-21 is a nice date