简体   繁体   中英

Cannot define step definition in cucumber

Folder structure

I am trying to create step definition from the feature file, but the steps in feature file does not get highlighted even if i press alt+enter. (Please refer to the image and ignore the ":")

But the same was working a couple of days back, so not sure whether I messed up something.

Please let me know my mistake

OK so i figured out the problem. I had installed a cucumber.js few month back which was causing the problem. I uninstalled cucmber.js though my IDE and then just used cucumber java and it worked fine.

为了在未来摆脱这个问题,你可以尝试一些其他的黄瓜编辑器,比如Cucumber Eclipse Plugin 1.0.0.202005150629Natural 0.9

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM