Skip to content
SPECIFICTION
Get listed

Cucumber.js vs ESM Unit

Cucumber.js

cucumber.io

ESM Unit

github.com

Side by side

FigureCucumber.jsESM Unit
Price fromFree—
Free planYes—
Free trial——
Open source——
Web—Yes
WindowsYes—
macOSYes—
LinuxYes—
Self-hostedYes—
Plans published20
Spec score · JavaScript Testing Frameworks9.0 (#1)7.3 (#15)
IntegrationsCucumber says it is not a browser automation tool, but works with browser automation tools such as Selenium WebDriver.The README recommends Sinon for stubbing, mocking, and assertions against mocks.
PurposeCucumber reads executable specifications written in plain text and checks whether software conforms to them, reporting success or failure for each scenario.ESM Unit is a unit testing tool for native ECMAScript modules in web browsers.
SupportThe FAQ directs users with questions to the Cucumber community and lists Cucumber School online training for deeper learning.The project README invites users to open an issue or pull request and says it welcomes contributions.

Plans

Cucumber.js

  • Cucumber.jsFree
  • Cucumber.js (@cucumber/cucumber)Free

Cucumber.js pricing →

ESM Unit

No plans published.

ESM Unit pricing →

In their own words

Cucumber.js

Cucumber.js checks software against executable specifications written as plain-text scenarios, reporting whether each scenario passes or fails. It is the JavaScript implementation of Cucumber and runs on Node.js. Scenarios use Gherkin syntax and are usually kept in `.feature` files alongside the software in source control. Step definitions connect each Gherkin step to code that carries out its described action; expressions can use Cucumber Expressions or regular expressions, but not both syntaxes in a single expression.

The tool runs feature files from the command line and can run in continuous integration, including parallel execution. Reporter plugins can produce results, and reports can be published to Cucumber Reports with `--publish`. Published reports are public and deleted after 24 hours. Cucumber.js is available as the `@cucumber/cucumber` npm module, installed as a development dependency with npm or Yarn. The setup requires Node.js and one of those package managers. It is free and open source, with Linux, macOS, Windows, and self-hosted platforms listed. It works with browser automation tools, but is not itself one.

Visit cucumber.io

ESM Unit

ESM Unit has no write-up on Specifiction yet; its figures are above.

Visit github.com