How to implement customer listeners in cucumber?
which can log to the console/report about the occurrence of the failed method?
using cucumber 4.0
Note: Hooks are not helping at method levels
CodePudding user response:
No custom listener option in cucumber like TestNG. we should have use only Hooks.
CodePudding user response:
You can implement the ConcurrentEventListener to get certain hooks for events [example].
Events can be found here