Cucumber.js vs Intern
Cucumber.js
cucumber.ioIntern
theintern.ioSide by side
| Figure | Cucumber.js | Intern |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| iOS | — | Yes |
| Android | — | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 2 | 0 |
| Spec score · JavaScript Testing Frameworks | 9.0 (#1) | 7.9 (#7) |
| Purpose | Cucumber reads executable specifications written in plain text and checks whether software conforms to them, reporting success or failure for each scenario. | Intern is a JavaScript testing framework for websites and applications. |
| Security | The project says it has a security policy that explains how to contact maintainers about security issues. | The GitHub repository links a security policy, but the opened product pages state no security certifications or compliance claims. |
| Support | The FAQ directs users with questions to the Cucumber community and lists Cucumber School online training for deeper learning. | The homepage says free community support is available through Stack Overflow, Gitter, and IRC. |
Plans
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.
Intern
Intern is a free, open-source test system for JavaScript libraries and applications. It supports unit and functional testing, with tests written in JavaScript or TypeScript using TDD or BDD styles. Tests can run in Node.js, web browsers, or across multiple browsers and platforms through the Intern runner, with parallel execution and code coverage reporting. The project can target web pages and native or hybrid iOS and Android applications. For browser automation, it supports WebDriver-compatible tools and services, including Selenium, Appium, and Selendroid. Listed cloud options include Sauce Labs, BrowserStack, TestingBot, and a user’s own Selenium Grid. Continuous-integration integrations include Travis CI, Jenkins, and TeamCity. Intern’s extensible architecture allows custom test interfaces, executors, and reporters. It runs on Android, iOS, Linux, macOS, self-hosted environments, the web, and Windows. Installation is provided through npm, and the project uses the New BSD license.