Lettuce review
A free Python BDD tool with Gherkin-style workflows, Django integration, and CI output.
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Lettuce is an open-source behavior-driven development tool for Python projects. It is designed for developers and teams creating automated functional or acceptance tests, particularly those working with legacy Python codebases or Django projects. Teams describe features and scenarios in plain text, connect them to Python step definitions with decorators, and execute scenarios or features through a command-line utility. Gherkin-style support includes scenario outlines, example tables, hooks, shared test state, tags, and natural-language keywords for 18 languages.
For Python teams with Django projects, the product’s strongest advantage is its focused workflow. Django integration connects the BDD process to a common Python web framework, while Subunit output supports continuous-integration workflows and coverage integration supports code-coverage processes. These capabilities make Lettuce more suitable for functional and acceptance-test routines than a tool limited to scenario authoring alone. Its execution model is local, with command-line operation at the center of the workflow.
The trade-off is breadth. Windows is the listed platform, and browser testing is not part of the described feature set, so teams needing cross-platform execution or browser-focused automation should choose a broader alternative. Lettuce fits best when plain-text BDD scenarios, Python step definitions, Django integration, and established local or CI workflows are the priority. It is less suitable for teams seeking an extensive browser-testing ecosystem or a wider multi-platform testing surface. The published documentation version is 0.2.19, while the linked repository README identifies version 0.2.23.
Lettuce pros and cons
- Where it wins
- Plain-text scenarios with outlines, example tables, hooks, and tags
- Django integration plus Subunit and coverage workflow support
- Free, open-source Python BDD execution from the command line
- Where it doesn't
- Windows is the listed platform
- Does not provide browser testing
- Narrower ecosystem than broader BDD tools
Lettuce fact sheet, pricing and score →
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update