功能文件未在 Intellij 的空手道框架中运行

问题描述 投票:0回答:2

我是空手道框架的新手。 我创建了一个脚本,该脚本从“user.json”文件中读取请求正文,并在功能文件中对其进行了配置。直到这一切都很好,但是当运行功能文件时,它给了我一个以下错误: enter image description here

json 文件: enter image description here

我尝试找到解决方案,但没有得到太多结果。 谁能帮我解决这个问题吗?

testing intellij-idea karate web-api-testing cucumber-junit
2个回答
1
投票

安装插件:“Gherkin”和“Cucumber for Java” 重新启动您的 IDE,右键单击该文件时您将能够看到 RunAs 选项。 注意:不要安装“Cucumber+”。


-1
投票

请从intellij idea store安装空手道插件,它将完美运行

© www.soinside.com 2019 - 2024. All rights reserved.