node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

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

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. Documentation for 2.x is available here. Documentation for 1.x is available here.