English 中文(简体)
《英特尔法》第10条并不承认全球步骤—— cu鱼定义目录。
原标题:IntelliJ Idea 10 does not recognizes global step_definitions directory for cucumber

I usetegrated cucumber *feature file recognition in BritishliJ Vision 10. 我试图利用黄瓜粉碎块,但z子吃像cra一样的记忆,因此我放弃了这一想法。

问题是,在我的所有步骤档案中,有全球步骤——定义目录。

So my directory tree seems like

  • features
  • —— module 1
  • ———— function 1
  • ———— function 2
  • ———— function 3
  • ———— function N
  • —— module 2
  • ———— function 1
  • ———— function 2
  • ———— function 3
  • ———— function N
  • —— step_defenitions
  • ———— module1_steps.rb
  • ———— module2_steps.rb
  • ———— module3_steps.rb
  • ———— moduleN_steps.rb
  • —— support
  • ———— env.rb
  • ———— hooks.rb
  • lib

I made that for easy coding in one place.

在我进行测试时,所有步骤都可见于黄瓜。 它开张,只字。

但是,当我写成一个法典时,第10号设想无法看到全球步骤定义的界定,并在出现后发出警告。 等等。

请帮助我了解第10项设想,即:在每一试验夹(名称/功能N/步骤_定义)内,一是必须列入步骤——定义的倍数,二是使用该倍数(术语/步骤_定义)。

I was trying to modify the project settings and couldn t find any suitable option.

最佳回答

The problem was in the name of step_defenitions, because it should be step_definitions.

谨慎。 页: 1 当然,在工作上不要尝试:

问题回答

暂无回答




相关问题
IntelliJ IDEA hint parameters of method

I m just swapping from eclipse to IntelliJ, and I can t find this particular feature. In Eclipse, when the cursor is inside the brackets of a method-call and I press Ctrl+Space, it tells me which ...

will installing several IDEs cause problems

I m trying to evaluate a number of IDEs like Eclipse, intelliJ, Aptana, etc. to see which one suits my needs. My question is should I expect any problems from installing several IDEs on the same ...

Restoring the IntelliJ IDEA "Project tab"

By default the IntelliJ IDEA interface contains the following tabs/panels: Project (tabbed to the left) Structure (tabbed to the left) Commander (tabbed to the right) Ant Build (tabbed to the right) ...

Grails 1.1 and how to info level logging

Which setting do I now use to produce logging output with log.info statements within my own controllers? Here s what I ve setup in config.groovy and I thought placing my domain under the info level ...

How to move IntelliJ file tabs?

In IntelliJ, when you open a bunch of source files, is there a way to rearrange the order of the file tabs? In Eclipse you can drag and drop but I don t see a way to do this in IntelliJ.

How to clear the IntelliJ project index?

I ve run into trouble that makes me suspect there is a bad index file that needs to be cleared. The symptoms are: Cmd+N will only find a subset of classes in the project Trying to run JUnit test on a ...

Limiting IntelliJ IDEA import suggestions on completion

When I type the name of a class which will need to be imported, IntelliJ lovingly pops up with a list of suggestions. However, most of the time those suggestions are things I d never want to import, ...

热门标签