Logo: Relish

  1. Sign in

Project: Cucumber

Language help

  • @needs-many-fonts

It's possible to ask cucumber which keywords are used for any
particular language by running:

cucumber --i18n <language code> help

This will print a table showing all the different words we use for
that language, to allow you to easily write features in any language
you choose.

Scenarios
Get help for Portuguese language
When
I run cucumber --i18n pt help
Then
it should pass with:
      | feature          | "Funcionalidade", "Característica", "Caracteristica"                                         |
      | background       | "Contexto", "Cenário de Fundo", "Cenario de Fundo", "Fundo"                                  |
      | scenario         | "Cenário", "Cenario"                                                                         |
      | scenario_outline | "Esquema do Cenário", "Esquema do Cenario", "Delineação do Cenário", "Delineacao do Cenario" |
      | examples         | "Exemplos", "Cenários", "Cenarios"                                                           |
      | given            | "* ", "Dado ", "Dada ", "Dados ", "Dadas "                                                   |
      | when             | "* ", "Quando "                                                                              |
      | then             | "* ", "Então ", "Entao "                                                                     |
      | and              | "* ", "E "                                                                                   |
      | but              | "* ", "Mas "                                                                                 |
      | given (code)     | "Dado", "Dada", "Dados", "Dadas"                                                             |
      | when (code)      | "Quando"                                                                                     |
      | then (code)      | "Então", "Entao"                                                                             |
      | and (code)       | "E"                                                                                          |
      | but (code)       | "Mas"                                                                                        |
List languages
When
I run cucumber --i18n help
Then
cucumber lists all the supported languages

Last published over 7 years ago by mattwynne.