3. BDD - Python¶
Let’s dive practically into BDD with Behave. We will go step by step so that we can understand how we write Tests and Scenarios using BDD as well as how to use behave
and Python for BDD.
Behave is a python library to do BDD. It is documented at https://behave.readthedocs.io/en/latest/
- 3.1. Step - 00 : Installation of Behave
- 3.2. Step - 01 : Initial structure
- 3.3. Step - 02 : Run with undefined steps
- 3.4. Step - 03 : Run with defined steps
- 3.5. Step - 04 : Add implementation and pass
- 3.6. Changes
- 3.7. Step - 05 : Tabulated entries
- 3.8. Changes
- 3.9. Step - 06 : Hooks
- 3.10. Changes
- 3.11. Step - 07 : Catalog of steps
- 3.12. Step - 08 : Catalog of documented steps
- 3.13. Changes
- 3.14. Step - 09 : Sphinx
- 3.15. steps_addition