cucumber

The official JavaScript implementation of Cucumber.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
cucumber
6.0.72 years ago13 years agoMinified + gzip package size for cucumber in KB

Readme

🚨🚨🚨
Cucumber is publishing new releases under @cucumber/cucumber on npm:

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

  • 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.
World Step Definitions Hooks Timeouts Data Table Interface Attachments API Reference

Documentation for older versions