Ask a Question

PickleEvent not working Cucumber uplift 7.0.0

SOLVED
mslisamarie
Occasional Contributor

PickleEvent not working Cucumber uplift 7.0.0

Hello everyone!
I am working on a Cucumber uplift in java where we previously used 4.8.1 and now need to uplift Cucumber to the latest version which is 7.0.0. Unfortunately I stumbled upon many issues and especially PickleEvent and PickleTag which seems to no longer be in use. Has it moved somewhere or is there a workaround for this? Because as of now I have not found any and it ruins many files for me.

Thank you in advance!
Best Regards
Lisa Marie
4 REPLIES 4
mslisamarie
Occasional Contributor

The issue has been resolved so this ticket can be closed.

saiprakash8093
New Contributor

what is the solution for this?

You should use PickleWrapper and Pickle and String Tag instead since PickleEvent and PickleTag now is deprecated. Here is a small example:

for (final String tagg : wrapper.getPickle().getTags()) {
if (tag.equals(tagg)) {
foundPickles.add(wrapper.getPickle());

 

Best Regards

Lisa Marie

Thank you for quick response. I will check and get back to you on this.

cancel
Showing results for 
Search instead for 
Did you mean: