FitNesse vs pytest-bdd
FitNesse
fitnesse.orgpytest-bdd
pytest-bdd.readthedocs.ioSide by side
| Figure | FitNesse | pytest-bdd |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| API | Yes | — |
| Self-hosted | Yes | — |
| Plans published | 1 | 1 |
| Spec score · BDD Testing Tools | 8.7 (#4) | 7.4 (#19) |
| License | FitNesse is released under the Common Public License version 1.0. | PyPI lists the package as licensed under the MIT License. |
| Purpose | FitNesse is an acceptance-test wiki for specifying and verifying application acceptance criteria. | pytest-bdd implements a subset of Gherkin to automate requirements testing and support behavior-driven development. |
Plans
In their own words
FitNesse
FitNesse is an acceptance-test wiki for specifying and verifying application acceptance criteria. Stakeholders can document requirements in wiki pages and run those pages as tests against an application, helping keep documentation aligned with software behavior. Pages can be edited in a browser using wiki syntax or a rich-text editor, and tests can run manually or automatically by anyone with web access to the server. FitNesse is distributed as a Java jar, can run on a machine or server, and stores wiki pages as files. It requires Java Runtime Environment version 11; listed supported versions are Java 11, 17 and 21. Fit and Slim are built-in test systems, and tests can also run from JUnit or Maven. Extensions and fixtures include support for Git, Gradle, Selenium, REST and HTTP testing, PDF checks and email retrieval. Page permissions can separately limit reading, writing and testing, but are disabled by default. The project is free under the Common Public License version 1.0.
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.