FREEDOM251

Freedom251 › Compare

Side by side

Cucumber.js vs Jasmine

Both stand on javascript testing frameworks. Which one you can start free with, which one lets you read the code, and what each costs once you pay.

Cucumber.js

Free plan LinuxMacSelf-hosted+1

Cucumber.js gives Node.js teams a way to connect plain-text Gherkin scenarios to code and check the results. Note that reports published with `--publish` are public and deleted after 24 hours.

Visit Cucumber.js

Jasmine

Free plan LinuxMacWeb+1

Jasmine provides browser and Node.js testing options, with configurable runners and customization tools. Check its rolling platform support and the karma-jasmine adapter limitation if either affects your setup.

Visit Jasmine

The facts

Cucumber.jsJasmine
Free planYesYes
Open sourceNot publishedNot published
Runs onLinux, Mac, Self-hosted, WindowsLinux, Mac, Web, Windows
Lowest paid planFree or on requestFree or on request
Plans published21
MakerNot publishedNot published
Websitecucumber.iojasmine.github.io
On javascript testing frameworks#1 of 23#2 of 23

Cucumber.js: what it does well

  • Free and open source.
  • Runs feature files from the command line.
  • Supports continuous integration and parallel execution.
  • Report plugins show scenario outcomes.
  • Works with browser automation tools such as Selenium WebDriver.

What to know first

  • Requires Node.js and npm or Yarn.
  • Global installation does not work with support files.
  • Published reports are publicly accessible.
  • Cucumber.js is not a browser automation tool.

Jasmine: what it does well

  • No external dependencies in jasmine-core.
  • Standalone browser distribution needs no web server.
  • Supports ES modules and CommonJS in Node.
  • Custom reporters, matchers and randomized spec order.

What to know first

  • Older platforms may lose support in minor releases.
  • Unmaintained karma-jasmine adapter depends on jasmine-core 4.x.

Alternatives to Cucumber.js Alternatives to Jasmine The whole list