黄瓜测试中的 'ignore reason: pending' 是什么意思?

What does 'ignore reason: pending' in cucumber tests means?

我正在使用 wdio v4.12.0wdio-cucumber-framework,它正在使用 cucumber v1.3.3 其中一个测试被忽略,cmd 输出中只有信息是 ignore reason: pending。前面和后面的所有步骤都没有错误地执行。

[field with default name is visible] Test ignored: field with default name is visible, ignore reason: pending

专题文件:

Scenario: User is able to add field
  Given user is on fields page
  When user creates new field with default name
  Then field with default name is visible

跳过这一步可能是什么原因?未决意味着什么(它只是未解决的承诺还是什么)?

我相信当 Cucumber 找不到一个或多个步骤的基础定义时,场景被标记为未决。在这种情况下,它可能找不到 "Then field with default name is visible" 的步骤定义,因此请检查您是否已实现此定义。

待定步骤表示该步骤尚未实施。如果 Cucumber 找不到您的胶水,它会建议如何执行您的步骤的片段。