无法在Pycharm社区中创建.feature文件

编程入门 行业动态 更新时间:2024-10-17 11:33:48
本文介绍了无法在Pycharm社区中创建.feature文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经安装了 Pycharm社区版,并使用以下命令安装了具有1.2.5 的功能.

I have installed the Pycharm Community edition and installed the behave 1.2.5 with the following command.

pip install behave

它已成功安装,并且可以在 Pycharm项目解释器中使用,如下所示.

It was successfully installed and it is available in the Pycharm Project Interpreter as shown below.

但是当我右键单击项目时,我看不到创建.feature文件(小黄瓜文件)的选项

But I don't see an option to create the .feature file (Gherkin file) when I right click on the project

在这里,我是否会错过任何内容?默认情况下,在Pycharm Professional中,行为BDD"可用.如何配置Pycharm社区的行为.

Do I miss anything over here, in Pycharm professional by default Behave BDD is available. How do I configure the behave with Pycharm community.

推荐答案

AFAIK "> BDD支持仅在PyCharm Professional Edition中可用." 当然,没有什么可以阻止您创建带有.feature扩展名的文件,但是您不会看到运行方案的选项.您可以使用Gherkin插件突出显示一些语法,这与社区版中的语法突出显示一样.

AFAIK "BDD support is available only in the PyCharm Professional Edition." Of course, nothing prevents you from creating a file with the .feature extension but you are not going to see options to run your scenarios. You can get some syntax highlighting using the Gherkin plugin and that is as much as you get in the community edition.

更多推荐

无法在Pycharm社区中创建.feature文件

本文发布于:2023-11-28 13:53:29,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1642668.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件   社区   Pycharm   feature

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!