-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
💔 breaking changeThis will require a major releaseThis will require a major release🥒 core teamCandidate for going onto the Cucumber Open Board: https://github.com/orgs/cucumber/projects/8Candidate for going onto the Cucumber Open Board: https://github.com/orgs/cucumber/projects/8🧷 pinnedTells Stalebot not to close this issueTells Stalebot not to close this issue
Description
Summary
Calling steps from step definitions is one of the features I regret having added to Cucumber. It's like a poor man's implementation of subroutines (which all languages support natively) with the following drawbacks:
- Bad stacktraces
- Editor/IDE cannot spot errors
- Refactoring is painful
Using this functionality should print:
Calling steps from step definitions is deprecated and will be removed in the next major version. For a better alternative, follow this link: XXX
The XXX link should point to a page in the documentation explaining in more details how to use fiunctions/methods with Cucumber. It can be based on the explanation I gave in cucumber/cucumber-js#1232
tamlyn, khoan, dvgorod and iamkenosakostadinov, UltimateGeek, arg and srbarrios
Metadata
Metadata
Assignees
Labels
💔 breaking changeThis will require a major releaseThis will require a major release🥒 core teamCandidate for going onto the Cucumber Open Board: https://github.com/orgs/cucumber/projects/8Candidate for going onto the Cucumber Open Board: https://github.com/orgs/cucumber/projects/8🧷 pinnedTells Stalebot not to close this issueTells Stalebot not to close this issue
Type
Projects
Status
Next