Cucumber Open vs pytest-bdd
Cucumber Open
cucumber.iopytest-bdd
pytest-bdd.readthedocs.ioSide by side
| Figure | Cucumber Open | pytest-bdd |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Android | Yes | — |
| API | Yes | — |
| Plans published | 1 | 1 |
| Spec score · BDD Testing Tools | 8.2 (#6) | 7.4 (#19) |
| Purpose | Cucumber runs automated acceptance tests written in plain language that can be read by anyone on a team. | pytest-bdd implements a subset of Gherkin to automate requirements testing and support behavior-driven development. |
Plans
In their own words
Cucumber Open
Cucumber Open runs automated acceptance tests from specifications written in plain language, helping teams check whether software behaves as described. It supports Behaviour-Driven Development by executing Gherkin specifications saved in `.feature` text files, typically alongside software in source control. Step definitions link the specification's steps to code that carries them out. Official implementations include JavaScript, Java, Ruby, Android Java, Kotlin, Scala, and C++, with semi-official and unofficial implementations also listed. Gherkin has variations for spoken languages, so teams can use keywords in their own language. Reporting options include built-in HTML, JSON, JUnit, and progress formatters, as well as custom formatters. Cucumber can run in continuous integration environments; its documentation describes JUnit output and a Jenkins reporting plugin. The project is free and open source, with local execution, parallel execution, browser testing, and API access. Published Cucumber Reports are public without authentication and deleted after 24 hours; the report service says data is stored in US data centers and encrypted at rest.
pytest-bdd
pytest-bdd is a Python package for automating requirements tests with behavior-driven development. It implements a subset of Gherkin and runs scenarios as pytest tests, without a separate test runner. Feature steps can reuse pytest fixtures through dependency injection, and step definitions can accept arguments parsed as strings, with parse or cfparse formats, or by regular expression. The scenarios helper can bind scenarios from feature files and folders, including recursive folder discovery. Scenario outlines support parameterized cases and tagged example tables; step functions can also receive Gherkin data tables as row lists and docstrings as strings. For browser tests, the documented example uses pytest-splinter to provide a browser fixture. Installation is via `pip install pytest-bdd`. The package is open source under the MIT License, free at free, and requires Python 3.10 or newer. Listed platforms are Linux, macOS, and Windows.