Skip to content

← All questions

Lint passes but the run fails on a missing step — why is undefined-step checking opt-in?

Asked 5,730 views3 answers

Clean lint, then the run dies immediately on a step nobody wrote. Turning the flag on finds it:

bash
sdods lint -p shop --undefined-steps
text
✖ features/checkout/payment.feature:14  steps/undefined  Undefined step: Given I am on the checkout page
1 feature file(s), 1 error(s), 0 warning(s)

If it can find it, why is it not on by default? Feels like the most valuable check of the lot.

asked by Ingrid Solberg241 ·

3 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related