PickleEvent not working Cucumber uplift 7.0.0
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2021
02:49 AM
11-18-2021
02:49 AM
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
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
Solved! Go to Solution.
Labels:
- Labels:
-
Cucumber-JVM
4 REPLIES 4
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2021
05:27 AM
11-22-2021
05:27 AM
The issue has been resolved so this ticket can be closed.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2022
10:27 PM
01-27-2022
10:27 PM
what is the solution for this?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2022
11:37 PM
01-27-2022
11:37 PM
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2022
01:35 AM
01-28-2022
01:35 AM
Thank you for quick response. I will check and get back to you on this.
