Step Definition detection only works when project is configured as cucumber project.- Virtual Machine

假如想象 提交于 2020-12-16 04:50:26

问题


feature file and stepdefiniton file could not be connected. It happens only in eclipse installed in Win Server 2012R2 Virtual Machine.


回答1:


This error will appear when you import any new cucumber project from git or directly from local system. Because you have not configured the project to cucumber and it is configured only to maven.

This error can appear for both Selenium and appium testing for web and mobile automation testing.

You can use below screenshot to convert to cucumber project.




回答2:


This issue will be resolved if you convert the project as a cucumber project. Right-click on your project from the Project Explorer > Configure > Convert as Cucumber Project.



来源:https://stackoverflow.com/questions/58327032/step-definition-detection-only-works-when-project-is-configured-as-cucumber-proj

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!