Run feature file

Below is the command to run specific feature file

behave fileName.feature

Below is the command to run all the feature file.Just we need to type behave ,So that it will run all the feature files

behave

If we need to run feature files based on required order then we need to define any numeric number at the end of the feature file and type “behave”

Step Definition file

If it needs to print the statements which are inside the steps (.py) files then we need to pass one argument to it.

behave fileName.feature --no-capture

If still it doesn't print the statements then pass one more argument to it.

behave fileName.feature --no-capture -f plain