Pending step in cucumber fails build

The cucumber option --strict fails the build if you have a pending or undefined step.

Take a look at the cucumber documentation