【问题标题】:Codeception with Gherkin keywords in GermanCodeception 与德语中的 Gherkin 关键字
【发布时间】:2018-06-03 18:46:50
【问题描述】:

如何配置 Codeception 以在德语中使用 Gherkin 关键字?

I know that this is possible in Cucumber.

有可能吗?

【问题讨论】:

    标签: cucumber bdd codeception gherkin


    【解决方案1】:

    看起来 Codeception 支持脚本文件的语言声明 in the first line 的标准 Gherkin 语法:

    #language: de
    

    Gherkin-supported keywords 的列表太大,无法在此处列出,但包括用于简单场景的这些:

    Feature - Funktionalität
    Scenario - Szenario
    Given - Angenommen / Gegeben Sei / Gegeben Seien
    When - Wenn
    Then - Dann
    And - Und
    But - Aber
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-04-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-09-07
      • 2015-10-17
      • 2017-11-29
      • 1970-01-01
      相关资源
      最近更新 更多