BDD for pytest

Edit Package python-pytest-bdd

BDD library for the py.test runner

pytest-bdd implements a subset of Gherkin language for the automation of the project
requirements testing and easier behavioral driven development.

Unlike many other BDD tools it doesn't require a separate runner and benefits from
the power and flexibility of the pytest. It allows to unify your unit and functional
tests, easier continuous integration server configuration and maximal reuse of the
tests setup.

Pytest fixtures written for the unit tests can be reused for the setup and actions
mentioned in the feature steps with dependency injection, which allows a true BDD
just-enough specification of the requirements without maintaining any context object
containing the side effects of the Gherkin imperative declarations.

Refresh
Refresh
Source Files
Filename Size Changed
pytest-bdd-3.1.1.tar.gz 0000063696 62.2 KB
python-pytest-bdd.changes 0000000628 628 Bytes
python-pytest-bdd.spec 0000003433 3.35 KB
Revision 2 (latest revision is 11)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 716613 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 2)
- Update to 3.1.1:
  * Allow unicode string in @given() step names when using python2. This makes the transition of projects from python 2 to 3 easier.
Comments 0
openSUSE Build Service is sponsored by