2017-10-09 48 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秒內....塞納里奧代替方案........