Eclipse Cucumber failed to show the warning for undefined step definitions enter image description here
-
Next time copy the text from the IDE console and paste it here. Don't use images for these sort of thing. – hfontanez Apr 10 '21 at 15:42
-
Hi and welcome to StackOverflow! Visit the [help center](https://stackoverflow.com/tour), take a [tour](https://stackoverflow.com/tour) and see [How to Ask a Good Question](https://stackoverflow.com/help/how-to-ask). Please also check out: [Why Shouldn’t I Post Code in an Image Format](https://meta.stackoverflow.com/a/285557/13991219) – Parzival Apr 14 '21 at 04:51
1 Answers
Eclipse Cucumber failed to show the warning for undefined step definitions
What do you expect to happen? This is normal behavior. The Cucumber library doesn't run in the background to warn you that a test step in a feature file doesn't have the required step definition. Think about what you are asking. If the plugin did that during development, how often will it warn you? You can also have dozens of steps not fully implemented. Instead, the plugin depends on the developer to do his or her job and not create test steps that are not fully implemented. After all, you should not be pushing feature files that have not been validated with at least one successful run. So... what's the harm in giving you the warning when it is trying to execute the step?

- 5,774
- 2
- 25
- 37