🚨🚨🚨
Cucumber is publishing new releases under @cucumber/cucumber
on npm:
https://www.npmjs.com/package/@cucumber/cucumber
Features in the latest version include:
BeforeEach
andAfterEach
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
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.
- CLI
- Custom Formatters
- Custom Snippet Syntaxes
- NodeJs Example
- Support Files
- FAQ