cucumber-ruby vs Codeception: open-source BDD tools compared
Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.
Summary
cucumber-ruby: Ruby implementation of Cucumber that runs Gherkin feature files with Ruby step definitions.
Codeception: Full-stack PHP testing framework for acceptance, functional and unit tests written as actor steps.
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-ruby | Codeception |
|---|---|---|
| Stars | 5,2121 | 4,8571 |
| Forks | 1,1181 | 1,2791 |
| Contributors | 4651 | 8531 |
| Last release | 2026-06-251 | 2026-02-181 |
| Last commit | 2026-09-181 | 2026-08-061 |
| Commits in 90 days | 541 | 41 |
| License | MIT1 | MIT1 |
| Primary language | Ruby1 | PHP1 |
| Status | active1 | active1 |
| Languages for writing tests | Ruby source: README | PHP source: README |
| Specification format | Gherkin feature files with Ruby step definitions source: README | PHP code; classic PHPUnit tests also run source: README |
| Parallel or distributed execution | not documentednot found in the project's documentation as of | Sharding across CI jobs with the --shard option; robo-paracept task set for groups source: Docs: Parallel Execution |
| CI integration | CI guide: run through Rake, Ant or Maven; JUnit formatter output for Jenkins source: Docs: Continuous Integration | Setup steps for Jenkins, GitHub Actions, GitLab CI and Travis CI source: Docs: Continuous Integration |
| Report formats | Built-in formatters: message, progress, pretty, html, json, rerun, junit source: Docs: Reporting | CLI, HTML (--html), JUnit XML (--xml); Allure through an extension source: Docs: Reporting |
| Install method | RubyGems (gem install cucumber) or Bundler (gem 'cucumber' in the Gemfile) source: README | Composer (composer require "codeception/codeception" --dev) or codecept.phar 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-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
Codeception
Fits projects that write acceptance, functional and unit tests for PHP applications; its README describes a full-stack testing framework for PHP. 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
- README, read
- README, read
- Docs: Parallel Execution, read
- Docs: Continuous Integration, read
- Docs: Continuous Integration, read
- Docs: Reporting, read
- Docs: Reporting, read
Documented facts collected 2026-09-22. See the methodology for how metrics and facts are gathered.