Cucumber is a software tool that supports Behaviour-Driven Development (BDD). This is a software development process that aims to enhance software quality and reduce maintenance costs.
Cucumber reads executable specifications written in plain text and validates that the software does what those specifications say. The specifications consists of multiple examples, or scenarios. Cucumber allows the execution of feature documentation written in business-facing text
Its ordinary language parser is called Gherkin. It’s a set of grammar rules that makes plain text structured enough for Cucumber to understand. The purpose behind Gherkin’s syntax is to promote behavior-driven development practices across an entire development team, including business analysts and managers. Syntax is centered around a line-oriented design, similar to that of Python. Gherkin uses a set of special keywords to give structure and meaning to executable specifications. The Cucumber grammar exists in different flavours for many spoken languages so that your team can use the keywords in your own language.
Cucumber reduces the effort to keep requirements specifications, tests and documentation in sync – with Cucumber they are all the same documents – a single source of truth for everyone on the team.
Key Features
- Automate with Selenium, API calls or direct function calls in the same process.
- Generate reports in HTML, JSON and other formats, or build your own reports.
- Integrate with CucumberStudio, JIRA or build your own plugins. Cucumber uses reporter plugins to produce reports that contain information about what scenarios have passed or failed.
- Store plain text specifications alongside your code in your own source control system
- Cross-platform support – works with Java, JavaScript, Ruby, .NET and many other languages.
Website: cucumber.io
Support: Documentation, GitHub Code Repository
Developer: SmartBear
License: MIT License
Cucumber is written in Java, TypeScript, C, Go, Ruby, C#, and other languages.
Related Software
| Test Automation Tools | |
|---|---|
| Appium | Open source automation tool |
| Cypress | Fast, easy and reliable testing |
| Robot Framework | Python-based, extensible keyword-driven automation framework |
| Cucumber | Tool for running automated tests written in plain language |
| Selenium | Portable framework for testing web applications |
| Gauge | Lightweight cross-platform test automation tool which uses Markdown |
| Nightwatch | Integrated testing framework powered by Node.js |
| WebdriverIO | Browser and mobile automation framework for Node.js |
| Detox | Gray-box end-to-end testing framework for mobile apps |
| Allure Report | Multi-language test report tool |
| Karate | Unified test automation framework |
| Dojo Toolkit | JavaScript toolkit that scales with your development process |
| TestCafe | Node.js framework for automated end-to-end web testing |
| Playwright | Framework for web testing and automation |
| Maestro | End-to-end testing framework for mobile and web apps |
| CodeceptJS | Scenario-driven end-to-end testing framework for Node.js |
| Schemathesis | Property-based testing for OpenAPI and GraphQL APIs |
| tox | Automate and standardize testing in Python |
| nox | Automates testing in multiple Python environments, similar to tox |
| Carina | Java-based test automation framework that unites all testing layers |
| Testsigma | Extensible test automation platform that works out of the box |
| SeleniumBase | Python framework for browser automation and web testing |
| Watir | Web application testing in Ruby |
| Serenity | Test automation reporting library (previously known as Thucydides) |
| Selenide | Concise Java framework for writing Selenium-based tests |
| Cerberus Testing | Low-code test automation platform |
| Galen | Tool for testing layout and responsive design of web applications |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.