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

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

问题描述

无法连接功能文件和步骤定义文件.它只发生在安装在 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 或直接从本地系统导入任何新的 Cucumber 项目时,都会出现此错误.因为你没有把项目配置成cucumber,只配置成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天全站免登陆