从我所看到的,Gherkin支持许多不同的语言,包括Pirate
有人可以列出盗版中关键字的示例,以及某个场景可能听起来或知道某个示例列出的网站吗?
答案 0 :(得分:11)
要获取完整的关键字列表,只需运行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" |
同时尝试cucumber --i18n help
查看所有其他可能的语言(包括Scouse和澳大利亚......)