Forum Discussion

mslisamarie's avatar
mslisamarie
Occasional Contributor
3 years ago
Solved

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
  • The issue has been resolved so this ticket can be closed.

4 Replies

  • mslisamarie's avatar
    mslisamarie
    Occasional Contributor

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

    • mslisamarie's avatar
      mslisamarie
      Occasional Contributor

      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

      • saiprakash8093's avatar
        saiprakash8093
        New Contributor

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