仅当项目配置为黄瓜项目时,步骤定义检测才起作用.-虚拟机 [英] Step Definition detection only works when project is configured as cucumber project.- Virtual Machine

查看:93
本文介绍了仅当项目配置为黄瓜项目时,步骤定义检测才起作用.-虚拟机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

功能文件和stepdefiniton文件无法连接.它仅在Win Server 2012R2虚拟机中安装的eclipse中发生.

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

推荐答案

从git或直接从本地系统导入任何新的黄瓜项目时,都会出现此错误.因为您尚未将项目配置为黄瓜,而仅将其配置为maven.

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.

对于进行Web和移动自动化测试的Selenium和Appium测试,都可能出现此错误.

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.

这篇关于仅当项目配置为黄瓜项目时,步骤定义检测才起作用.-虚拟机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆