2017-10-09 44 views
0

当我运行我的功能文件时,它没有看到我的任何方案和步骤的步骤或场景,并返回 “0场景 0步 0m0.000s”黄瓜无法读取我的功能的文件,但不

我不知道我做错了,我目前试图通过黄瓜和奶酪的新手引导运行,我在这里停留。代码如下。

Feature: Adopting puppies 

as a puppy lover 
I want to adopt puppies 
So they can chem my furniture 


Senario: Adopting one puppy 
    Given I am on the puppy adoption site 
    When i click the View Details button 
    And I click the Adopt Me button 
    And I click the Complete the Adoption button 
    And I enter "Cheezy" in the name field 
    And I enter "123 Main Street" in the address field 
    And I enter "[email protected]" in the email field 
    And I select "Credit card" from the pay with dropdown 
    And I click the Place Order button 
    Then I should see "Thank you for adopting a puppy!" 
+0

添加你在哪里设置功能文件的位置和胶水代码代码 – Grasshopper

+0

一个常见的问题会从被执行在命令行中有错误的目录,但是设置也可能有问题。如果我们能知道你正在使用后端的语言,和一些步进码的一个想法,我们应该有我们需要回答这个问题的所有信息,但在目前,还没有足够的信息来重新创建问题 –

回答

0

我一直在通过命令提示符运行所有东西,所以我决定试用ruby mine。发现这个问题在3秒内....塞纳里奥代替方案........