aloetesting / aloe

Behavior Driven Development using Cucumber for Python
http://aloe.readthedocs.io/
Other
68 stars 17 forks source link
aloe bdd gherkin python

Aloe

Build status Build status Coverage PyPI

A Gherkin runner for Python based on Nose and Lettuce.

Install:

pip install aloe

Read the documentation.

Invocation

Pass the --with-gherkin argument to nosetests to run your BDD tests. You may also pass the --no-ignore-python argument to run other nose discovered tests as well.

The aloe command line tool is a wrapper for the nose runner, configured to only run Gherkin tests. As such, the invocation is the same as nose, but the following parameters are added:

Migrating from Lettuce

Aloe, started as a fork of Lettuce, tries to be compatible where it makes sense. However, there are following incompatible changes:

License

Aloe - Cucumber runner for Python based on Lettuce and Nose

Copyright (C) <2015> Alexey Kotlyarov a@koterpillar.com

Copyright (C) <2014-2015> Danielle Madeley danielle@madeley.id.au

Copyright (C) <2010-2012> Gabriel Falcão gabriel@nacaolivre.org

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/.