An open API service indexing awesome lists of open source software.

https://github.com/automationpanda/behavior-driven-python

Python BDD Test Framework Examples
https://github.com/automationpanda/behavior-driven-python

Last synced: 12 months ago
JSON representation

Python BDD Test Framework Examples

Awesome Lists containing this project

README

          

# behavior-driven-python
This repository contains example projects for the following
[Python](https://automationpanda.com/python/)
[BDD](https://automationpanda.com/bdd/) test frameworks:

* [behave](http://behave.readthedocs.io/en/latest/index.html)
* [pytest-bdd](https://github.com/pytest-dev/pytest-bdd)

The example projects (in the subdirectories)
include full tests and documentation.
They are companions to Python conference talks and the
[Automation Panda](https://automationpanda.com/) blog.

The example projects share the `cucumbers.py` module,
which contains a simple *CucumberBasket* class for unit testing.
However, the feature files and step definition modules in each project
are slightly different because they depend upon the framework.