mix cucumber.gen.steps (cucumberex v0.2.1)

Copy Markdown View Source

Generate a step definition module skeleton.

Usage

mix cucumber.gen.steps NAME

NAME is snake_cased for the filename and camel-cased for the module. Refuses to overwrite an existing file.

Examples

mix cucumber.gen.steps authentication
# → features/step_definitions/authentication_steps.ex
# → defmodule AuthenticationSteps