黄瓜无法读取我的功能文件,但没有读取步骤或方案

时间:2017-10-09 23:52:41

标签: cucumber

当我运行我的功能文件时,它无法看到我的任何场景和步骤并返回 " 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 "cheezy@example.com" 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!"  

1 个答案:

答案 0 :(得分:0)

我一直在通过命令提示符运行一切,所以我决定接受ruby mine的试用。在3秒钟内发现了这个问题.... Senario而不是场景........