10

From what I can see, Gherkin supports many different languages including Pirate

Could someone list an example of the keywords in pirate and what a scenario may sound like or know of a site that has some example listed?

Mark Pearl
  • 7,573
  • 10
  • 47
  • 57

1 Answers1

12

To get a full list of keywords, simply run cucumber --i18n en-pirate

Currently this returns:

  | 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"                  |

Also try cucumber --i18n help to see all other possible languages (including Scouse and Australian...)

Jon M
  • 11,669
  • 3
  • 41
  • 47
  • voting this one up on talk like a pirate day in the hope people might test like a pirate as well. – Amias Sep 19 '18 at 13:23