Lettuce
The facts below are what the maker publishes about Lettuce, checked and dated. Our editors have not written about it yet.
The facts
Each one read from Lettuce's own pages, with the date it was checked.
What it does
- Audience
- The tutorial says Lettuce lets people who do not program describe the behavior of a system in plain text.checked 8 Oct 2026
- CI output
- Lettuce can use Subunit to output test results for continuous-integration workflows.checked 8 Oct 2026
- Command-line use
- Lettuce runs from a shell and can run feature files or selected scenarios.checked 8 Oct 2026
- Cucumber inspiration
- The documentation describes Lettuce as a BDD tool based on Cucumber, which has more features than Lettuce.checked 8 Oct 2026
- Django
- The project README lists Django among the packages used in Lettuce's tests.checked 8 Oct 2026
- Django integration
- Lettuce supports Django projects and documents Django-specific hooks and built-in steps.checked 8 Oct 2026
- Grouped steps
- Lettuce supports grouping steps in a class decorated with @steps.checked 8 Oct 2026
- Installation
- The tutorial instructs users to install Lettuce from a terminal with pip after installing Python.checked 8 Oct 2026
- Known comparison
- The documentation says Lettuce focuses on common BDD tasks and has fewer features than Cucumber.checked 8 Oct 2026
- License
- The repository identifies Lettuce as free software under the GNU General Public License version 3 or later.checked 8 Oct 2026
- Purpose
- Lettuce runs plain-text functional descriptions as automated tests for Python projects using behavior-driven development.checked 8 Oct 2026
- Scenario writing
- Features can be described in natural language as one or more scenarios, with steps that run Python code.checked 8 Oct 2026
- Step discovery
- Lettuce recursively looks for Python files inside the features directory; the files can have any name ending in .py.checked 8 Oct 2026
- Step syntax
- Steps can be defined with the @step decorator, using a sentence pattern or taking the sentence from a function name or docstring.checked 8 Oct 2026
- Support
- The project documentation directs users to an issue tracker and user and development mailing lists.checked 8 Oct 2026
- Test setup hooks
- Hooks can run before and after features, scenarios, and steps for tasks such as setting up or cleaning test data.checked 8 Oct 2026
- Unstable features
- The documentation warns that step.behave_as and xUnit XML output are unstable and untested.checked 8 Oct 2026
The company
- Founded
- 2010checked 28 Sep 2026
Where it runs
- Natural-language scenarios
- Developers can describe features in natural language as scenarios and define Python steps that execute them.checked 8 Oct 2026
- Windows support
- The project README notes that a contributor made Lettuce work on Windows and points to an installation guide.checked 8 Oct 2026
Alternatives to Lettuce
- 1

Karate
Free planOpen sourceAPIExtensionLinuxmacOS8.2From $100 a year - 2
FitNesse
Free planWebAPILinuxmacOS6.7Free plan - 3

Reqnroll
Free planWindowsmacOSLinux6.7From €400 a year - 4
BddDotNet
Free planLinuxmacOSWindows6.6Free plan - 5
BDDX
Free planWeb6.6From $9.99 a month - 6

Cucumber Open
Free planAndroidAPILinuxmacOS6.6Free plan
