Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including cucumber with all npm packages installed. Try it out:

var cucumber = require("cucumber")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

cucumber v5.1.0

The official JavaScript implementation of Cucumber.

Cucumber.js

OpenCollective OpenCollective

TravisCI AppVeyor Status Dependencies Coverage Status

Cucumber is a tool for running automated tests written in plain language. Because they're written in plain language, they can be read by anyone on your team. Because they can be read by anyone, you can use them to help improve communication, collaboration and trust on your team.

Cucumber.js is the JavaScript implementation of Cucumber and runs on both Node.js (4 and above) and modern web browsers.

Try it now

We've put a demo of Cucumber.js to run in your browser. Why don't you give it a try before anything else?

Help & support

  • See here: https://cucumber.io/support

Contributing

See CONTRIBUTING.md for info on contributing to Cucumber.js.

Code of Conduct

Everyone interacting in this codebase and issue tracker is expected to follow the Cucumber code of conduct.

Install

npm downloads

Node

Cucumber.js is available as an npm module.

$ npm install cucumber

Browser

  • Grab the browserified code from the latest release in the dist folder

Documentation

The following documentation is for master. See below for documentation for older versions.

Documentation for older versions

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free