我已经安装了 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文件
发布评论