1

I am trying to upgrade the suite from old info.cukes (1.0.2) to io.cucumber (5.6) with latest version.

The step definitions are recognized with the old imports but as soon as I change the import and remove the old dependencies, step definitions are not recognized.

Can anyone suggest the best way to upgrade. We are in desperate need to use the new features not available in old version.

unfortunately due to policy i can not add any snippets.

Naman
  • 27,789
  • 26
  • 218
  • 353
YKR
  • 11
  • 1
  • Where is the message showing up? on the feature file in the IDE? – Grasshopper Apr 07 '20 at 05:35
  • Yes. we are using intelllij and it is not able to recognize the step definitions. when trying to run, it throws step not defined exception. – YKR Apr 07 '20 at 12:29
  • for the intellij part this could help u - https://stackoverflow.com/questions/57416690/undefined-step-reference-intellij-java. Lot of things have changed since version 1. U could try using dryRun option of runner to generate step definitions and check if these are found. – Grasshopper Apr 07 '20 at 15:05

0 Answers0