cucumber

cucumber
js deprecated
cucumber JS library homepage cucumber JS library on GitHub cucumber JS library on npm Download cucumber JS library

The official JavaScript implementation of Cucumber.

Version 6.0.7 License MIT
cucumber JS library homepage
cucumber JS library on GitHub
cucumber JS library on npm
Download cucumber JS library
Keywords
testingbddcucumbergherkintests

🚨🚨🚨

Cucumber is publishing new releases under @cucumber/cucumber on npm:
https://www.npmjs.com/package/@cucumber/cucumber

Features in the latest version include:

  • BeforeEach and AfterEach hooks
  • Searchable HTML reports
  • Native ESM support
  • Write scenarios in Markdown

Full changelog: https://github.com/cucumber/cucumber-js/blob/main/CHANGELOG.md
Upgrading guide: https://github.com/cucumber/cucumber-js/blob/main/UPGRADING.md

🚨🚨🚨

Cucumber

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 the maintained Node.js versions and modern web browsers.

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. See below for documentation for older versions.

Documentation for older versions