用Gherkin Pirate编写的场景示例

Mar*_*arl 10 cucumber specflow gherkin

从我所看到的,Gherkin支持许多不同的语言,包括Pirate

有人可以列出盗版中关键字的示例以及某个场景可能听起来或知道某个列出某个示例的网站吗?

Jon*_*n M 12

要获得完整的关键字列表,只需运行即可 cucumber --i18n en-pirate

目前这返回:

  | feature          | "Ahoy matey!"            |
  | background       | "Yo-ho-ho"               |
  | scenario         | "Heave to"               |
  | scenario_outline | "Shiver me timbers"      |
  | examples         | "Dead men tell no tales" |
  | given            | "* ", "Gangway! "        |
  | when             | "* ", "Blimey! "         |
  | then             | "* ", "Let go and haul " |
  | and              | "* ", "Aye "             |
  | but              | "* ", "Avast! "          |
  | given (code)     | "Gangway"                |
  | when (code)      | "Blimey"                 |
  | then (code)      | "Letgoandhaul"           |
  | and (code)       | "Aye"                    |
  | but (code)       | "Avast"                  |
Run Code Online (Sandbox Code Playgroud)

还尝试cucumber --i18n help查看所有其他可能的语言(包括Scouse和澳大利亚......)