为什么黄瓜找不到我的测试场景

时间:2021-06-13 20:52:03

标签: ruby-on-rails cucumber

"A:\Testes Ruby\apresentação ifpe
λ cucumber

0 scenarios
0 steps
0m0.000s"

每次我尝试运行命令“Cucumber”时都会发生这种情况。而且我找不到问题所在。 因为我把步骤定义和 env 也是正确的(我认为)。

这是文档结构: documents

这是步骤定义:

  Dado('o site da Kabum') do
    pending # Write code here that turns the phrase above into concrete actions
  end
  
  Quando('fizer o login') do
    pending # Write code here that turns the phrase above into concrete actions
  end
  
  Quando('escolher todos os produtos necessários') do
    pending # Write code here that turns the phrase above into concrete actions
  end
  
  Então('ir para o carrinho') do
    pending # Write code here that turns the phrase above into concrete actions
  end

1 个答案:

答案 0 :(得分:0)

我找到了解决方案。

忘记挽救我所做的事情。 xD