New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

highly-attractive-step-definitions

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

highly-attractive-step-definitions

Re-usable Gherkin step definitions for Cucumber.js

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Highly Attractive (Gherkin) Step Definitions

Prerequesites

  • Cucumber.js
  • A running webdriver (PhantomJS, Selenium, BrowserStack, etc.)
  • Node.js/NPM

Install

Run $ npm install --save-dev highly-attractive-step-definitions to include this library into your package.json's devDependencies.

Usage

In your features/step_definitions/myStepDefinitions.js (or similar):

module.exports = function() {
  var options = {/* Optional configurations to pass to the web driver. */};
  require('highly-attractive-step-definitions').call(this, options);
}

That's the bare minimum to have these step definitions available to you. Take a peak into the steps directory to see the provided step definitions.

At this point, use the documentation on Cucumber-JS on how to write and execute your features.

Oh yeah, make sure You're running a web driver on 127.0.0.1:4444!

FAQs

Package last updated on 06 Jun 2015

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc