3.7. Step - 07 : Catalog of stepsΒΆ

Soon, there may be very long list of steps in features/steps/*.py. When we write new scenarios, we may do mistake in what steps should use/run.

behave allows us to take control of them:

behave --no-color --format steps.catalog --dry-run --no-summary
Given I have '{num1:d}' and '{num2:d}'
  Location: features/steps/steps_addition.py:5

When I add them
  Location: features/steps/steps_addition.py:10

Then The result must be '{value:d}'
  Location: features/steps/steps_addition.py:14