Skip to content

MikeHibbert/lettuce

This branch is 9 commits ahead of, 20 commits behind gabrielfalcao/lettuce:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a7a2c66 · May 18, 2017
Jul 5, 2013
May 9, 2016
May 18, 2017
Oct 2, 2013
Jul 19, 2016
May 30, 2013
May 24, 2016
Jun 7, 2013
Oct 28, 2013
Sep 17, 2012
Jun 11, 2012
Jun 12, 2012
Oct 5, 2015
Jul 19, 2016
Feb 4, 2011
Aug 27, 2015
Jul 19, 2016
Aug 27, 2015

Repository files navigation

lettuce

Version 0.2.23 - kryptonite

Build Status

On release names

Lettuce release names will be inspired by any green stuff.

Barium: In form of "barium nitrate" is commonly used to make green fireworks. Such a good name for a first version :)

What

Lettuce is a BDD tool for python, 100% inspired on cucumber.

Motivation

  1. Cucumber makes Ruby even more sexy. Python needed something like it.
  2. Testing must be funny and easy.
  3. Most python developers code in python, not ruby.
  4. Ruby has Capistrano, Python has Fabric. Ruby has cucumber, Python has lettuce.
  5. I personally don't like mixing many languages in small projects. Keeping all in python is better.
  6. I love python, and ever did. But I also ever missed something that make writing tests easier and funnier.
  7. I like nose, which is a unittest pythonic framework. However, as the project I work on grows, so do the tests, and it becomes harder to understand them.

Documentation

See full documentation on http://lettuce.it/

Dependencies

you will need to install these dependencies in order to hack lettuce :) all them are used within lettuce tests

you could use a virtualenv:

> mkvirtualenv lettuce
> workon lettuce
> pip install -r requirements.txt

note this uses virtualenvwrapper to save some virtualenv handling hassle. you can also use virtualenv the regular way.

or just install manually:

> sudo pip install -r requirements.txt

or do it really from scratch:

  • nose

    [sudo] pip install nose

  • mox

    [sudo] pip install mox

  • sphinx

    [sudo] pip install sphinx

  • lxml

    [sudo] pip install lxml

  • tornado

    [sudo] pip install tornado

  • django

    [sudo] pip install django

mailing list

for users

http://groups.google.com/group/lettuce-users

for developers

http://groups.google.com/group/lettuce-developers

Special thanks

  1. Cucumber crew, for creating such a AWESOME project, and for inspiring Lettuce.
  2. Tatiana for helping a lot with documentation.
  3. Django which documentation structure was borrowed.
  4. Andres Jaan Tack for his awesome contributions
  5. Erlis Vidal for creating a tutorial of how to install lettuce on windows.

Known issues

windows support

erlis have made a awesome job by making lettuce work on windows. He posted here how to install lettuce on windows.

License

<Lettuce - Behaviour Driven Development for python>
Copyright (C) <2010-2012>  Gabriel Falcão <[email protected]>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

About

Cucumber-ish BDD for python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 93.0%
  • HTML 3.5%
  • JavaScript 1.5%
  • CSS 1.5%
  • Gherkin 0.2%
  • Roff 0.1%
  • Other 0.2%