Sunday, October 25, 2026 4,350 lists 78,100 records on file
List your app or device

  1. Home
  2. BDD Testing Tools
  3. Lettuce

Lettuce

On the record

Audience
The tutorial says Lettuce lets people who do not program describe the behavior of a system in plain text.lettuce.readthedocs.io · read 8 Oct 2026
CI output
Lettuce can use Subunit to output test results for continuous-integration workflows.lettuce.readthedocs.io · read 8 Oct 2026
Command-line use
Lettuce runs from a shell and can run feature files or selected scenarios.lettuce.readthedocs.io · read 8 Oct 2026
Cucumber inspiration
The documentation describes Lettuce as a BDD tool based on Cucumber, which has more features than Lettuce.lettuce.readthedocs.io · read 8 Oct 2026
Django
The project README lists Django among the packages used in Lettuce's tests.github.com · read 8 Oct 2026
Django integration
Lettuce supports Django projects and documents Django-specific hooks and built-in steps.lettuce.readthedocs.io · read 8 Oct 2026
Grouped steps
Lettuce supports grouping steps in a class decorated with @steps.lettuce.readthedocs.io · read 8 Oct 2026
Installation
The documentation says the latest stable release can be installed with pip.lettuce.readthedocs.io · read 8 Oct 2026
Known comparison
The documentation says Lettuce focuses on common BDD tasks and has fewer features than Cucumber.lettuce.readthedocs.io · read 8 Oct 2026
License
The repository identifies Lettuce as free software under the GNU General Public License version 3 or later.github.com · read 8 Oct 2026
Natural-language scenarios
Developers can describe features in natural language as scenarios and define Python steps that execute them.lettuce.readthedocs.io · read 8 Oct 2026
Purpose
Lettuce runs plain-text functional descriptions as automated tests for Python projects using behavior-driven development.lettuce.readthedocs.io · read 8 Oct 2026
Scenario writing
Features can be described in natural language as one or more scenarios, with steps that run Python code.lettuce.readthedocs.io · read 8 Oct 2026
Step discovery
Lettuce recursively looks for Python files inside the features directory; the files can have any name ending in .py.lettuce.readthedocs.io · read 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.lettuce.readthedocs.io · read 8 Oct 2026
Support
The project documentation directs users to an issue tracker and user and development mailing lists.lettuce.readthedocs.io · read 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.lettuce.readthedocs.io · read 8 Oct 2026
Unstable features
The documentation warns that step.behave_as and xUnit XML output are unstable and untested.lettuce.readthedocs.io · read 8 Oct 2026

Alternatives to Lettuce

Every alternative, ranked