BDD Testing Framework
Overview
Behavior-driven development, or BDD, makes it possible to write tests in a human-readable language.
Running a feature file
PyCharm provides the ability to run a specific feature file, or all feature files in a folder, which is specified in the corresponding run/debug configurations for Behave .
The procedure of running tests is the same as for the other testing frameworks:
Open the desired feature feature in the editor, or select it in the Project tool window.
- Do one of the following:
Right-click the selected file or folder, and choose
on the context menu of the selection.Create run/debug configurationfor one of the BDD frameworks, and specify the desired file of folder there.
Renaming steps
Refer to the section Renaming for details.
Last modified: 15 June 2020