
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
generator-cucumber-steps
Advanced tools
Fast steps-defs based on features generation :watermelon:

You are tired of creating a "steps file"? Me too, so I decided to simplify my problem.
npm install -g yo
npm install -g generator-cucumber-steps
yo cucumber-steps
Select path to the feature-file (without file extension) and location where will be generated a stepsDefs file. It's simple!
Feature: title
Scenario: title
Given precondition with "1" and "2"
When action
And addition
Then testable outcome equals "1"
If you have same feature with parameters, you'll recieve:
const {defineSupportCode} = require('cucumber');
defineSupportCode(function ({Given, When, Then}) {
Given(/^precondition with "(.*)" and "(.*)"$/, function (param1, param2) {
return true;
});
When(/^action$/, function () {
return true;
});
And(/^addition$/, function () {
return true;
});
Then(/^testable outcome equals "(.*)"$/, function (param1) {
return true;
});
});
Dictionary in new version of gherkin was changed. Be careful if you write your features with locale support!
For example, in Russian localization, key word ĐŃНи now refer to Given. Use ĐОгда or synonyms of Đ.
MIT Š lamartire
FAQs
Fast steps-defs based on features generation :watermelon:
We found that generator-cucumber-steps demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: whatâs affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.