Cleanup Cucumber Steps
Code that is never executed is bad. Try this on your brownfield test suite:
$ cucumber --dry-run -f stepdefs
The stepdefs
flag reports the location of each step, and also which steps aren't being used by any test. Delete those dusty old steps!
--dry-run
skips running the actual steps, a significant time-saver.