Can I rename the step_definitions folder for Cucumber?

Cucumber is great for behavior-driven development, but I would like to use shorter directory names. Features / step _definitions? Why are there no functions / steps? I assume there is some way to change this in the cucumber.yml file, but I could not find the .yml file that does.

+3
source share
1 answer

You don’t have to do anything. Cucumber looks for definitions of steps in the subdirectories of "functions", so functions / steps work just like functions / step_definitions.

+3
source

Source: https://habr.com/ru/post/1774698/


All Articles