cucumber-js vs cucumber-ruby: open-source BDD tools compared
Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.
Summary
cucumber-js: JavaScript implementation of Cucumber for running plain-language Gherkin tests on Node.js.
cucumber-ruby: Ruby implementation of Cucumber that runs Gherkin feature files with Ruby step definitions.
Both are listed under BDD. The table gives repository metrics from the GitHub API with their fetch date, then the documented facts used for every comparison in this category, each linked to the README or docs page it comes from. A cell reads "not documented" when the fact was not found in the project's documentation (1 of 12 fact cells here); that does not mean the feature is absent.
Side by side
| Fact | cucumber-js | cucumber-ruby |
|---|---|---|
| Stars | 5,3941 | 5,2121 |
| Forks | 1,1121 | 1,1181 |
| Contributors | 2031 | 4651 |
| Last release | 2026-08-041 | 2026-06-251 |
| Last commit | 2026-09-221 | 2026-09-181 |
| Commits in 90 days | 1001 | 541 |
| License | MIT1 | MIT1 |
| Primary language | TypeScript1 | Ruby1 |
| Status | active1 | active1 |
| Languages for writing tests | JavaScript; TypeScript and other languages that transpile to JavaScript source: Docs: Transpiling | Ruby source: README |
| Specification format | Plain language Gherkin feature files, with step definitions in code source: README | Gherkin feature files with Ruby step definitions source: README |
| Parallel or distributed execution | --parallel option runs scenarios in worker threads source: Docs: Parallel | not documentednot found in the project's documentation as of |
| CI integration | JUnit formatter output for CI platforms to pick up results source: Docs: Formatters | CI guide: run through Rake, Ant or Maven; JUnit formatter output for Jenkins source: Docs: Continuous Integration |
| Report formats | Summary, progress, pretty, HTML, message (NDJSON), JSON, JUnit XML, usage source: Docs: Formatters | Built-in formatters: message, progress, pretty, html, json, rerun, junit source: Docs: Reporting |
| Install method | npm (npm install @cucumber/cucumber) source: README | RubyGems (gem install cucumber) or Bundler (gem 'cucumber' in the Gemfile) source: README |
1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.
When each fits
Written from each project's documented scope, not from preference. Neither tool is ranked.
cucumber-js
Fits projects that write automated tests in plain language for Node.js; its README describes the JavaScript implementation of Cucumber running on maintained versions of Node.js. source: README
cucumber-ruby
Fits projects that run automated tests for Ruby code written in plain language; its README describes plain-language tests that anyone on the team can read. source: README
More on these tools
Sources
- GitHub REST API: repository, read
- GitHub REST API: repository, read
- GitHub REST API: contributors, read
- GitHub REST API: contributors, read
- GitHub REST API: latest release, read
- GitHub REST API: latest release, read
- GitHub REST API: commits, read
- GitHub REST API: commits, read
- Docs: Transpiling, read
- README, read
- README, read
- Docs: Parallel, read
- Docs: Formatters, read
- Docs: Continuous Integration, read
- Docs: Reporting, read
Documented facts collected 2026-09-22. See the methodology for how metrics and facts are gathered.