{"url": "https://cucumber.io/", "titulek": "Cucumber", "h1": "Cucumber lets you write automated tests in plain language", "popis": "Cucumber is a tool for running automated acceptance tests, written in plain language. Because they're written in plain language, they can be read by anyone on your team, improving communication, collaboration and trust.", "klicova_slova": "", "kanonicka": "https://cucumber.io/", "jazyk": "en", "robots_meta": "", "og": {"og:title": "Cucumber", "og:image": "https://cucumber.io/img/logo.svg", "og:url": "https://cucumber.io/", "og:locale": "en"}, "jsonld": [], "drobecky": [], "osnova": [{"uroven": 2, "text": "Cucumber is a tool for running automated acceptance tests, written in plain language. Because they're written in plain language, they can be read by anyone on your team, improving communication, collaboration and trust."}, {"uroven": 3, "text": "Got 10 minutes?"}, {"uroven": 3, "text": "Want to go further?"}], "markdown": "## Cucumber is a tool for running automated acceptance tests, written in **plain language**. Because they're written in plain language, they can be read by **anyone** on your team, improving **communication**, **collaboration** and **trust**.\n\n### Got 10 minutes?\n\nGet up and running quickly with Cucumber on your technology stack.\n\n[Take the Tutorial →](/docs/guides/10-minute-tutorial)\n\n### Want to go further?\n\nLearn about Behaviour-Driven Development (BDD), the development process that Cucumber was built to support.\n\n[Learn about BDD →](/docs/bdd)\n\nfeatures/withdrawing-cash.feature\n\n```\nFeature: Withdrawing cash Rule: Customers cannot withdraw more than their balance Scenario: Successful withdrawal within balance Given Alice has 234.56 in their account When Alice tries to withdraw 200.00 Then the withdrawal is successful Scenario: Declined withdrawal in excess of balance Given Hamza has 198.76 in their account When Hamza tries to withdraw 200.00 Then the withdrawal is declined\n```", "znaku_textu": 955, "slov": 140, "odkazu": 10, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:21:48", "sha256": "c697b7be56b0f37cd8462796a153111f7176a547b319e9957b997b7047cde046", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://github.com/cucumber"]} {"url": "https://cucumber.io/docs/gherkin/", "titulek": "Gherkin | Cucumber", "h1": "Gherkin", "popis": "Cucumber is a tool for running automated acceptance tests, written in plain language. Because they're written in plain language, they can be read by anyone on your team, improving communication, collaboration and trust.", "klicova_slova": "", "kanonicka": "https://cucumber.io/docs/gherkin/", "jazyk": "en", "robots_meta": "", "og": {"og:image": "https://cucumber.io/img/logo.svg", "og:url": "https://cucumber.io/docs/gherkin/", "og:locale": "en", "og:title": "Gherkin | Cucumber"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "Gherkin", "item": "https://cucumber.io/docs/gherkin/"}]}], "drobecky": ["Gherkin"], "osnova": [{"uroven": 2, "text": "📄️Reference"}, {"uroven": 2, "text": "📄️Localisation"}, {"uroven": 2, "text": "📄️Step organization"}], "markdown": "[📄️ReferenceGherkin uses a set of special keywords to give structure and meaning to](/docs/gherkin/reference)\n\n[📄️LocalisationIn order to allow Gherkin to be written in a number of languages, the keywords have been translated into multiple languages. To improve readability and flow, some languages may have more than one translation for any given keyword.](/docs/gherkin/languages)\n\n[📄️Step organizationYou can have all of your step definitions in one file, or in multiple files. When you start with your project, all your step definitions will probably be in one file.](/docs/gherkin/step-organization)", "znaku_textu": 602, "slov": 84, "odkazu": 23, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:21:50", "sha256": "07bcf1f06c5f16006961aa91153319398dbd8af0250aeba2f0088e3c5020117a", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://github.com/cucumber", "https://github.com/cucumber/website/blob/main/docs/gherkin/index.mdx"]} {"url": "https://cucumber.io/docs/gherkin/languages", "titulek": "Localisation | Cucumber", "h1": "Localisation", "popis": "In order to allow Gherkin to be written in a number of languages, the keywords have been translated into multiple languages. To improve readability and flow, some languages may have more than one translation for any given keyword.", "klicova_slova": "", "kanonicka": "https://cucumber.io/docs/gherkin/languages", "jazyk": "en", "robots_meta": "", "og": {"og:image": "https://cucumber.io/img/logo.svg", "og:url": "https://cucumber.io/docs/gherkin/languages", "og:locale": "en", "og:title": "Localisation | Cucumber", "og:description": "In order to allow Gherkin to be written in a number of languages, the keywords have been translated into multiple languages. To improve readability and flow, some languages may have more than one translation for any given keyword."}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "Gherkin", "item": "https://cucumber.io/docs/gherkin/"}, {"@type": "ListItem", "position": 2, "name": "Localisation", "item": "https://cucumber.io/docs/gherkin/languages"}]}], "drobecky": ["Gherkin", "Localisation"], "osnova": [{"uroven": 3, "text": "Afrikaans/Afrikaans (af)"}, {"uroven": 3, "text": "Armenian/հայերեն (am)"}, {"uroven": 3, "text": "Aragonese/AragonĂŠs (an)"}, {"uroven": 3, "text": "Arabic/العربية (ar)"}, {"uroven": 3, "text": "Asturian/asturianu (ast)"}, {"uroven": 3, "text": "Azerbaijani/Azərbaycanca (az)"}, {"uroven": 3, "text": "Belarusian/Беларуская (be)"}, {"uroven": 3, "text": "Bulgarian/български (bg)"}, {"uroven": 3, "text": "Malay/Bahasa Melayu (bm)"}, {"uroven": 3, "text": "Bosnian/Bosanski (bs)"}, {"uroven": 3, "text": "Catalan/catalĂ (ca)"}, {"uroven": 3, "text": "Czech/Česky (cs)"}, {"uroven": 3, "text": "Welsh/Cymraeg (cy-GB)"}, {"uroven": 3, "text": "Danish/dansk (da)"}, {"uroven": 3, "text": "German/Deutsch (de)"}, {"uroven": 3, "text": "Greek/Ελληνικά (el)"}, {"uroven": 3, "text": "Emoji/😀 (em)"}, {"uroven": 3, "text": "English/English (en)"}, {"uroven": 3, "text": "Scouse/Scouse (en-Scouse)"}, {"uroven": 3, "text": "Australian/Australian (en-au)"}, {"uroven": 3, "text": "LOLCAT/LOLCAT (en-lol)"}, {"uroven": 3, "text": "Old English/Englisc (en-old)"}, {"uroven": 3, "text": "Pirate/Pirate (en-pirate)"}, {"uroven": 3, "text": "Texas/Texas (en-tx)"}, {"uroven": 3, "text": "Esperanto/Esperanto (eo)"}, {"uroven": 3, "text": "Spanish/espaĂąol (es)"}, {"uroven": 3, "text": "Estonian/eesti keel (et)"}, {"uroven": 3, "text": "Persian/فارسی (fa)"}, {"uroven": 3, "text": "Finnish/suomi (fi)"}, {"uroven": 3, "text": "French/français (fr)"}, {"uroven": 3, "text": "Irish/Gaeilge (ga)"}, {"uroven": 3, "text": "Gujarati/ગુજરાતી (gj)"}, {"uroven": 3, "text": "Galician/galego (gl)"}, {"uroven": 3, "text": "Hebrew/עברית (he)"}, {"uroven": 3, "text": "Hindi/हिंदी (hi)"}, {"uroven": 3, "text": "Croatian/hrvatski (hr)"}, {"uroven": 3, "text": "Creole/kreyòl (ht)"}, {"uroven": 3, "text": "Hungarian/magyar (hu)"}, {"uroven": 3, "text": "Indonesian/Bahasa Indonesia (id)"}, {"uroven": 3, "text": "Icelandic/Íslenska (is)"}, {"uroven": 3, "text": "Italian/italiano (it)"}, {"uroven": 3, "text": "Japanese/日本語 (ja)"}, {"uroven": 3, "text": "Javanese/Basa Jawa (jv)"}, {"uroven": 3, "text": "Georgian/ქართული (ka)"}, {"uroven": 3, "text": "Kannada/ಕನ್ನಡ (kn)"}, {"uroven": 3, "text": "Korean/한국어 (ko)"}, {"uroven": 3, "text": "Lithuanian/lietuviĹł kalba (lt)"}, {"uroven": 3, "text": "Luxemburgish/LĂŤtzebuergesch (lu)"}, {"uroven": 3, "text": "Latvian/latvieĹĄu (lv)"}, {"uroven": 3, "text": "Macedonian/Македонски (mk-Cyrl)"}, {"uroven": 3, "text": "Macedonian (Latin)/Makedonski (Latinica) (mk-Latn)"}, {"uroven": 3, "text": "Mongolian/ПОнгОН (mn)"}, {"uroven": 3, "text": "Nepali/नेपाली (ne)"}, {"uroven": 3, "text": "Dutch/Nederlands (nl)"}, {"uroven": 3, "text": "Norwegian/norsk (no)"}, {"uroven": 3, "text": "Panjabi/ਪੰਜਾਬੀ (pa)"}, {"uroven": 3, "text": "Polish/polski (pl)"}, {"uroven": 3, "text": "Portuguese/portuguĂŞs (pt)"}, {"uroven": 3, "text": "Romanian/română (ro)"}, {"uroven": 3, "text": "Russian/русский (ru)"}, {"uroven": 3, "text": "Slovak/Slovensky (sk)"}, {"uroven": 3, "text": "Slovenian/Slovenski (sl)"}, {"uroven": 3, "text": "Serbian/Српски (sr-Cyrl)"}, {"uroven": 3, "text": "Serbian (Latin)/Srpski (Latinica) (sr-Latn)"}, {"uroven": 3, "text": "Swedish/Svenska (sv)"}, {"uroven": 3, "text": "Tamil/தமிழ் (ta)"}, {"uroven": 3, "text": "Thai/ไทย (th)"}, {"uroven": 3, "text": "Telugu/తెలుగు (te)"}, {"uroven": 3, "text": "Klingon/tlhIngan (tlh)"}, {"uroven": 3, "text": "Turkish/TĂźrkçe (tr)"}, {"uroven": 3, "text": "Tatar/Татарча (tt)"}, {"uroven": 3, "text": "Ukrainian/Українська (uk)"}, {"uroven": 3, "text": "Urdu/اعدو (ur)"}, {"uroven": 3, "text": "Uzbek/Узбекча (uz)"}, {"uroven": 3, "text": "Vietnamese/Tiáşżng Việt (vi)"}, {"uroven": 3, "text": "Chinese simplified/简体中文 (zh-CN)"}, {"uroven": 3, "text": "Malayalam/മലയാളം (ml)"}, {"uroven": 3, "text": "Chinese traditional/繁體中文 (zh-TW)"}, {"uroven": 3, "text": "Marathi/मराठी (mr)"}, {"uroven": 3, "text": "Amharic/አማርኛ (amh)"}], "markdown": "In order to allow Gherkin to be written in a number of languages, the keywords have been translated into multiple languages. To improve readability and flow, some languages may have more than one translation for any given keyword.\n\nYou can find all translation of Gherkin [on GitHub](https://github.com/cucumber/gherkin).\nThis is also the place to add or update translations.\n\nA list of the currently supported languages and their keywords can be found below.\n\n### Afrikaans/Afrikaans (`af`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Funksie``Besigheid Behoefte``VermoĂŤ` |\n| `Background` | `Agtergrond` |\n| `Rule` | `ReĂŤl``Reel` |\n| `Scenario` | `Voorbeeld``Situasie` |\n| `Scenario Outline` | `Situasie Uiteensetting` |\n| `Examples` | `Voorbeelde` |\n| `Given` | `*``Gegewe` |\n| `When` | `*``Wanneer` |\n| `Then` | `*``Dan` |\n| `And` | `*``En` |\n| `But` | `*``Maar` |\n\n### Armenian/հայերեն (`am`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Ֆունկցիոնալություն``Հատկություն` |\n| `Background` | `Կոնտեքստ` |\n| `Rule` | `Rule` |\n| `Scenario` | `Օրինակ``Սցենար` |\n| `Scenario Outline` | `Սցենարի կառուցվացքը` |\n| `Examples` | `Օրինակներ` |\n| `Given` | `*``Դիցուք` |\n| `When` | `*``ÔľŐŠŐĽ``Երբ` |\n| `Then` | `*``ÔąŐşŐĄ` |\n| `And` | `*``ÔľŐž` |\n| `But` | `*``Բեվց` |\n\n### Aragonese/AragonĂŠs (`an`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Caracteristica` |\n| `Background` | `Antecedents` |\n| `Rule` | `Rule` |\n| `Scenario` | `Eixemplo``Caso` |\n| `Scenario Outline` | `Esquema del caso` |\n| `Examples` | `Eixemplos` |\n| `Given` | `*``Dau``Dada``Daus``Dadas` |\n| `When` | `*``Cuan` |\n| `Then` | `*``Alavez``Allora``Antonces` |\n| `And` | `*``Y``E` |\n| `But` | `*``Pero` |\n\n### Arabic/العربية (`ar`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `خاصية` |\n| `Background` | `الخلفية` |\n| `Rule` | `Rule` |\n| `Scenario` | `مثال``سيناريو` |\n| `Scenario Outline` | `سيناريو مخطط` |\n| `Examples` | `امثلة` |\n| `Given` | `*``بفع؜` |\n| `When` | `*``متى``عندما` |\n| `Then` | `*``اذاً``ŘŤŮ` |\n| `And` | `*``و` |\n| `But` | `*``لكن` |\n\n### Asturian/asturianu (`ast`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `CarauterĂ­stica` |\n| `Background` | `Antecedentes` |\n| `Rule` | `Rule` |\n| `Scenario` | `Exemplo``Casu` |\n| `Scenario Outline` | `Esbozu del casu` |\n| `Examples` | `Exemplos` |\n| `Given` | `*``DĂĄu``Dada``Daos``Daes` |\n| `When` | `*``Cuando` |\n| `Then` | `*``EntĂłs` |\n| `And` | `*``Y``Ya` |\n| `But` | `*``Peru` |\n\n### Azerbaijani/Azərbaycanca (`az`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Özəllik` |\n| `Background` | `Keçmiş``Kontekst` |\n| `Rule` | `Rule` |\n| `Scenario` | `NĂźmunə``Ssenari` |\n| `Scenario Outline` | `Ssenarinin strukturu` |\n| `Examples` | `NĂźmunələr` |\n| `Given` | `*``Tutaq ki``Verilir` |\n| `When` | `*``Əgər``Nə vaxt ki` |\n| `Then` | `*``O halda` |\n| `And` | `*``Və``Həm` |\n| `But` | `*``Amma``Ancaq` |\n\n### Belarusian/Беларуская (`be`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Функцыянальнасць``Фіча` |\n| `Background` | `Кантэкст` |\n| `Rule` | `Правілы` |\n| `Scenario` | `Сцэнарый``Cцэнар` |\n| `Scenario Outline` | `ШайНОн сцэнарыя``Узор сцэнара` |\n| `Examples` | `Прыклады` |\n| `Given` | `*``Няхай``Дадзена` |\n| `When` | `*``Калі` |\n| `Then` | `*``Тады` |\n| `And` | `*``I``Ды``ТаксаПа` |\n| `But` | `*``АНо``Інакш` |\n\n### Bulgarian/български (`bg`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Функционалност` |\n| `Background` | `Предистория` |\n| `Rule` | `Правило` |\n| `Scenario` | `Пример``Сценарий` |\n| `Scenario Outline` | `РаПка на сценарий` |\n| `Examples` | `Примери` |\n| `Given` | `*``Дадено` |\n| `When` | `*``Когато` |\n| `Then` | `*``ТО` |\n| `And` | `*``И` |\n| `But` | `*``Но` |\n\n### Malay/Bahasa Melayu (`bm`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Fungsi` |\n| `Background` | `Latar Belakang` |\n| `Rule` | `Rule` |\n| `Scenario` | `Senario``Situasi``Keadaan` |\n| `Scenario Outline` | `Kerangka Senario``Kerangka Situasi``Kerangka Keadaan``Garis Panduan Senario` |\n| `Examples` | `Contoh` |\n| `Given` | `*``Diberi``Bagi` |\n| `When` | `*``Apabila` |\n| `Then` | `*``Maka``Kemudian` |\n| `And` | `*``Dan` |\n| `But` | `*``Tetapi``Tapi` |\n\n### Bosnian/Bosanski (`bs`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Karakteristika` |\n| `Background` | `Pozadina` |\n| `Rule` | `Rule` |\n| `Scenario` | `Primjer``Scenariju``Scenario` |\n| `Scenario Outline` | `Scenariju-obris``Scenario-outline` |\n| `Examples` | `Primjeri` |\n| `Given` | `*``Dato` |\n| `When` | `*``Kada` |\n| `Then` | `*``Zatim` |\n| `And` | `*``I``A` |\n| `But` | `*``Ali` |\n\n### Catalan/catalĂ (`ca`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `CaracterĂ­stica``Funcionalitat` |\n| `Background` | `Rerefons``Antecedents` |\n| `Rule` | `Rule` |\n| `Scenario` | `Exemple``Escenari` |\n| `Scenario Outline` | `Esquema de l'escenari` |\n| `Examples` | `Exemples` |\n| `Given` | `*``Donat``Donada``Atès``Atesa` |\n| `When` | `*``Quan` |\n| `Then` | `*``Aleshores``Cal` |\n| `And` | `*``I` |\n| `But` | `*``Però` |\n\n### Czech/Česky (`cs`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `PoĹžadavek` |\n| `Background` | `PozadĂ­``Kontext` |\n| `Rule` | `Pravidlo` |\n| `Scenario` | `Příklad``ScĂŠnář` |\n| `Scenario Outline` | `Náčrt ScĂŠnáře``Osnova scĂŠnáře` |\n| `Examples` | `Příklady` |\n| `Given` | `*``Pokud``Za předpokladu` |\n| `When` | `*``KdyĹž` |\n| `Then` | `*``Pak` |\n| `And` | `*``A takĂŠ``A` |\n| `But` | `*``Ale` |\n\n### Welsh/Cymraeg (`cy-GB`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Arwedd` |\n| `Background` | `Cefndir` |\n| `Rule` | `Rule` |\n| `Scenario` | `Enghraifft``Scenario` |\n| `Scenario Outline` | `Scenario Amlinellol` |\n| `Examples` | `Enghreifftiau` |\n| `Given` | `*``Anrhegedig a` |\n| `When` | `*``Pryd` |\n| `Then` | `*``Yna` |\n| `And` | `*``A` |\n| `But` | `*``Ond` |\n\n### Danish/dansk (`da`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Egenskab` |\n| `Background` | `Baggrund` |\n| `Rule` | `Regel` |\n| `Scenario` | `Eksempel``Scenarie` |\n| `Scenario Outline` | `Abstrakt Scenario` |\n| `Examples` | `Eksempler` |\n| `Given` | `*``Givet` |\n| `When` | `*``NĂĽr` |\n| `Then` | `*``SĂĽ` |\n| `And` | `*``Og` |\n| `But` | `*``Men` |\n\n### German/Deutsch (`de`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Funktionalität``Funktion` |\n| `Background` | `Grundlage``Hintergrund``Voraussetzungen``Vorbedingungen` |\n| `Rule` | `Rule``Regel` |\n| `Scenario` | `Beispiel``Szenario` |\n| `Scenario Outline` | `Szenariogrundriss``Szenarien` |\n| `Examples` | `Beispiele` |\n| `Given` | `*``Angenommen``Gegeben sei``Gegeben seien` |\n| `When` | `*``Wenn` |\n| `Then` | `*``Dann` |\n| `And` | `*``Und` |\n| `But` | `*``Aber` |\n\n### Greek/Ελληνικά (`el`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Δυνατότητα``Λειτουργία` |\n| `Background` | `Υπόβαθρο` |\n| `Rule` | `Rule` |\n| `Scenario` | `ΠιρΏδξΚγΟι``ΣξνΏρΚο` |\n| `Scenario Outline` | `Περιγραφή ΣξνιρίοĎ``ΠξρίγριΟΟι ΣξνιρίοĎ` |\n| `Examples` | `Παραδείγματα``ΣξνΏρΚι` |\n| `Given` | `*``ΔεδομένοĎ` |\n| `When` | `*``Όταν` |\n| `Then` | `*``Τότε` |\n| `And` | `*``Και` |\n| `But` | `*``Αλλά` |\n\n### Emoji/😀 (`em`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `📚` |\n| `Background` | `💤` |\n| `Rule` | `Rule` |\n| `Scenario` | `🥒``📕` |\n| `Scenario Outline` | `📖` |\n| `Examples` | `📓` |\n| `Given` | `*``😐` |\n| `When` | `*``🎬` |\n| `Then` | `*``🙏` |\n| `And` | `*``😂` |\n| `But` | `*``😔` |\n\n### English/English (`en`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Feature``Business Need``Ability` |\n| `Background` | `Background` |\n| `Rule` | `Rule` |\n| `Scenario` | `Example``Scenario` |\n| `Scenario Outline` | `Scenario Outline``Scenario Template` |\n| `Examples` | `Examples``Scenarios` |\n| `Given` | `*``Given` |\n| `When` | `*``When` |\n| `Then` | `*``Then` |\n| `And` | `*``And` |\n| `But` | `*``But` |\n\n### Scouse/Scouse (`en-Scouse`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Feature` |\n| `Background` | `Dis is what went down` |\n| `Rule` | `Rule` |\n| `Scenario` | `The thing of it is` |\n| `Scenario Outline` | `Wharrimean is` |\n| `Examples` | `Examples` |\n| `Given` | `*``Givun``Youse know when youse got` |\n| `When` | `*``Wun``Youse know like when` |\n| `Then` | `*``Dun``Den youse gotta` |\n| `And` | `*``An` |\n| `But` | `*``Buh` |\n\n### Australian/Australian (`en-au`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Pretty much` |\n| `Background` | `First off` |\n| `Rule` | `Rule` |\n| `Scenario` | `Awww, look mate` |\n| `Scenario Outline` | `Reckon it's like` |\n| `Examples` | `You'll wanna` |\n| `Given` | `*``Y'know` |\n| `When` | `*``It's just unbelievable` |\n| `Then` | `*``But at the end of the day I reckon` |\n| `And` | `*``Too right` |\n| `But` | `*``Yeah nah` |\n\n### LOLCAT/LOLCAT (`en-lol`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `OH HAI` |\n| `Background` | `B4` |\n| `Rule` | `Rule` |\n| `Scenario` | `MISHUN` |\n| `Scenario Outline` | `MISHUN SRSLY` |\n| `Examples` | `EXAMPLZ` |\n| `Given` | `*``I CAN HAZ` |\n| `When` | `*``WEN` |\n| `Then` | `*``DEN` |\n| `And` | `*``AN` |\n| `But` | `*``BUT` |\n\n### Old English/Englisc (`en-old`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Hwaet``HwĂŚt` |\n| `Background` | `Aer``Ær` |\n| `Rule` | `Rule` |\n| `Scenario` | `Swa` |\n| `Scenario Outline` | `Swa hwaer swa``Swa hwĂŚr swa` |\n| `Examples` | `Se the``Se Ăže``Se ðe` |\n| `Given` | `*``Thurh``Þurh``Ðurh` |\n| `When` | `*``BĂŚĂžsealf``BĂŚĂžsealfa``BĂŚĂžsealfe``CiricĂŚw``CiricĂŚwe``CiricĂŚwa` |\n| `Then` | `*``Tha``Þa``Ða``Tha the``Þa Ăže``Ða ðe` |\n| `And` | `*``Ond``7` |\n| `But` | `*``Ac` |\n\n### Pirate/Pirate (`en-pirate`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Ahoy matey!` |\n| `Background` | `Yo-ho-ho` |\n| `Rule` | `Rule` |\n| `Scenario` | `Heave to` |\n| `Scenario Outline` | `Shiver me timbers` |\n| `Examples` | `Dead men tell no tales` |\n| `Given` | `*``Gangway!` |\n| `When` | `*``Blimey!` |\n| `Then` | `*``Let go and haul` |\n| `And` | `*``Aye` |\n| `But` | `*``Avast!` |\n\n### Texas/Texas (`en-tx`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `This ain’t my first rodeo``All gussied up` |\n| `Background` | `Lemme tell y'all a story` |\n| `Rule` | `Rule` |\n| `Scenario` | `All hat and no cattle` |\n| `Scenario Outline` | `Serious as a snake bite``Busy as a hound in flea season` |\n| `Examples` | `Now that's a story longer than a cattle drive in July` |\n| `Given` | `Fixin' to``All git out` |\n| `When` | `Quick out of the chute` |\n| `Then` | `There’s no tree but bears some fruit` |\n| `And` | `Come hell or high water` |\n| `But` | `Well now hold on, I'll you what` |\n\n### Esperanto/Esperanto (`eo`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Trajto` |\n| `Background` | `Fono` |\n| `Rule` | `Regulo` |\n| `Scenario` | `Ekzemplo``Scenaro``Kazo` |\n| `Scenario Outline` | `Konturo de la scenaro``Skizo``Kazo-skizo` |\n| `Examples` | `Ekzemploj` |\n| `Given` | `*``DonitaÄľo``Komence` |\n| `When` | `*``Se` |\n| `Then` | `*``Do` |\n| `And` | `*``Kaj` |\n| `But` | `*``Sed` |\n\n### Spanish/espaĂąol (`es`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `CaracterĂ­stica``Necesidad del negocio``Requisito` |\n| `Background` | `Antecedentes` |\n| `Rule` | `Regla``Regla de negocio` |\n| `Scenario` | `Ejemplo``Escenario` |\n| `Scenario Outline` | `Esquema del escenario` |\n| `Examples` | `Ejemplos` |\n| `Given` | `*``Dado``Dada``Dados``Dadas` |\n| `When` | `*``Cuando` |\n| `Then` | `*``Entonces` |\n| `And` | `*``Y``E` |\n| `But` | `*``Pero` |\n\n### Estonian/eesti keel (`et`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Omadus` |\n| `Background` | `Taust` |\n| `Rule` | `Reegel` |\n| `Scenario` | `Juhtum``Stsenaarium` |\n| `Scenario Outline` | `Raamjuhtum``Raamstsenaarium` |\n| `Examples` | `Juhtumid` |\n| `Given` | `*``Eeldades` |\n| `When` | `*``Kui` |\n| `Then` | `*``Siis` |\n| `And` | `*``Ja` |\n| `But` | `*``Kuid` |\n\n### Persian/فارسی (`fa`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `ویژگی``قابلیت` |\n| `Background` | `زمینه``پیش زمینه``مقدمات` |\n| `Rule` | `قانون` |\n| `Scenario` | `مثال``سناریو` |\n| `Scenario Outline` | `الگوی سناریو` |\n| `Examples` | `نمونه ها` |\n| `Given` | `*``با فع؜``فع؜ کنید``با ŘŻŘą نظر گرفتن` |\n| `When` | `*``هنگامی``وقتی` |\n| `Then` | `*``آنگاه``سٞس``انتظار می عود` |\n| `And` | `*``و` |\n| `But` | `*``اما` |\n\n### Finnish/suomi (`fi`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Ominaisuus` |\n| `Background` | `Tausta` |\n| `Rule` | `Rule` |\n| `Scenario` | `Tapaus` |\n| `Scenario Outline` | `Tapausaihio` |\n| `Examples` | `Tapaukset` |\n| `Given` | `*``Oletetaan` |\n| `When` | `*``Kun` |\n| `Then` | `*``Niin` |\n| `And` | `*``Ja` |\n| `But` | `*``Mutta` |\n\n### French/français (`fr`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `FonctionnalitĂŠ` |\n| `Background` | `Contexte` |\n| `Rule` | `Règle` |\n| `Scenario` | `Exemple``ScĂŠnario` |\n| `Scenario Outline` | `Plan du scĂŠnario``Plan du ScĂŠnario` |\n| `Examples` | `Exemples` |\n| `Given` | `*``Soit``Sachant que``Sachant qu'``Sachant``Etant donnĂŠ que``Etant donnĂŠ qu'``Etant donnĂŠ``Etant donnĂŠe``Etant donnĂŠs``Etant donnĂŠes``Étant donnĂŠ que``Étant donnĂŠ qu'``Étant donnĂŠ``Étant donnĂŠe``Étant donnĂŠs``Étant donnĂŠes` |\n| `When` | `*``Quand``Lorsque``Lorsqu'` |\n| `Then` | `*``Alors``Donc` |\n| `And` | `*``Et que``Et qu'``Et` |\n| `But` | `*``Mais que``Mais qu'``Mais` |\n\n### Irish/Gaeilge (`ga`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `GnĂŠ` |\n| `Background` | `CĂşlra` |\n| `Rule` | `Riail` |\n| `Scenario` | `Sampla``CĂĄs` |\n| `Scenario Outline` | `CĂĄs Achomair` |\n| `Examples` | `SamplaĂ­` |\n| `Given` | `*``Cuir i gcĂĄs go``Cuir i gcĂĄs nach``Cuir i gcĂĄs gur``Cuir i gcĂĄs nĂĄr` |\n| `When` | `*``Nuair a``Nuair nach``Nuair ba``Nuair nĂĄr` |\n| `Then` | `*``Ansin` |\n| `And` | `*``Agus` |\n| `But` | `*``Ach` |\n\n### Gujarati/ગુજરાતી (`gj`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `લક્ષણ``વ્યાપાર જરૂર``ક્ષમતા` |\n| `Background` | `બેકગ્રાઉન્ડ` |\n| `Rule` | `નિય઎` |\n| `Scenario` | `ઉદાહરણ``સ્થિતિ` |\n| `Scenario Outline` | `પરિદ્દશ્ય રૂપરેખા``પરિદ્દશ્ય ઢાંચો` |\n| `Examples` | `ઉદાહરણો` |\n| `Given` | `*``આપેલ છે` |\n| `When` | `*``ક્યારે` |\n| `Then` | `*``પછી` |\n| `And` | `*``અને` |\n| `But` | `*``પણ` |\n\n### Galician/galego (`gl`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `CaracterĂ­stica` |\n| `Background` | `Contexto` |\n| `Rule` | `Rule` |\n| `Scenario` | `Exemplo``Escenario` |\n| `Scenario Outline` | `Esbozo do escenario` |\n| `Examples` | `Exemplos` |\n| `Given` | `*``Dado``Dada``Dados``Dadas` |\n| `When` | `*``Cando` |\n| `Then` | `*``EntĂłn``Logo` |\n| `And` | `*``E` |\n| `But` | `*``Mais``Pero` |\n\n### Hebrew/עברית (`he`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `×Ş×›×•× ×”` |\n| `Background` | `רקע` |\n| `Rule` | `כלל` |\n| `Scenario` | `דוגמא``תרחיש` |\n| `Scenario Outline` | `×Ş×‘× ×™×Ş תרחיש` |\n| `Examples` | `דוגמאות` |\n| `Given` | `*``×‘×”×™× ×Ş×Ÿ` |\n| `When` | `*``כאשר` |\n| `Then` | `*``אז``אזי` |\n| `And` | `*``וגם` |\n| `But` | `*``אבל` |\n\n### Hindi/हिंदी (`hi`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `रूप लेख` |\n| `Background` | `पृष्ठभूमि` |\n| `Rule` | `नियऎ` |\n| `Scenario` | `परिदृश्य` |\n| `Scenario Outline` | `परिदृश्य रूपरेखा` |\n| `Examples` | `उदाहरण` |\n| `Given` | `*``अगर``यऌि``चूंकि` |\n| `When` | `*``जब``कदा` |\n| `Then` | `*``तए``तऌञ` |\n| `And` | `*``और``त़ञ` |\n| `But` | `*``पर``परन्तु``किन्तु` |\n\n### Croatian/hrvatski (`hr`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Osobina``Mogućnost``Mogucnost` |\n| `Background` | `Pozadina` |\n| `Rule` | `Rule` |\n| `Scenario` | `Primjer``Scenarij` |\n| `Scenario Outline` | `Skica``Koncept` |\n| `Examples` | `Primjeri``Scenariji` |\n| `Given` | `*``Zadan``Zadani``Zadano``Ukoliko` |\n| `When` | `*``Kada``Kad` |\n| `Then` | `*``Onda` |\n| `And` | `*``I` |\n| `But` | `*``Ali` |\n\n### Creole/kreyòl (`ht`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Karakteristik``Mak``Fonksyonalite` |\n| `Background` | `Kontèks``Istorik` |\n| `Rule` | `Rule` |\n| `Scenario` | `Senaryo` |\n| `Scenario Outline` | `Plan senaryo``Plan Senaryo``Senaryo deskripsyon``Senaryo Deskripsyon``Dyagram senaryo``Dyagram Senaryo` |\n| `Examples` | `Egzanp` |\n| `Given` | `*``Sipoze``Sipoze ke``Sipoze Ke` |\n| `When` | `*``Lè``Le` |\n| `Then` | `*``Lè sa a``Le sa a` |\n| `And` | `*``Ak``Epi``E` |\n| `But` | `*``Men` |\n\n### Hungarian/magyar (`hu`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Jellemző` |\n| `Background` | `HĂĄttĂŠr` |\n| `Rule` | `SzabĂĄly` |\n| `Scenario` | `PĂŠlda``ForgatĂłkĂśnyv` |\n| `Scenario Outline` | `ForgatĂłkĂśnyv vĂĄzlat` |\n| `Examples` | `PĂŠldĂĄk` |\n| `Given` | `*``Amennyiben``Adott` |\n| `When` | `*``Majd``Ha``Amikor` |\n| `Then` | `*``Akkor` |\n| `And` | `*``És` |\n| `But` | `*``De` |\n\n### Indonesian/Bahasa Indonesia (`id`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Fitur` |\n| `Background` | `Dasar``Latar Belakang` |\n| `Rule` | `Rule``Aturan` |\n| `Scenario` | `Skenario` |\n| `Scenario Outline` | `Skenario konsep``Garis-Besar Skenario` |\n| `Examples` | `Contoh``Misal` |\n| `Given` | `*``Dengan``Diketahui``Diasumsikan``Bila``Jika` |\n| `When` | `*``Ketika` |\n| `Then` | `*``Maka``Kemudian` |\n| `And` | `*``Dan` |\n| `But` | `*``Tapi``Tetapi` |\n\n### Icelandic/Íslenska (`is`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Eiginleiki` |\n| `Background` | `Bakgrunnur` |\n| `Rule` | `Rule` |\n| `Scenario` | `AtburðarĂĄs` |\n| `Scenario Outline` | `LĂ˝sing AtburðarĂĄsar``LĂ˝sing DĂŚma` |\n| `Examples` | `DĂŚmi``AtburðarĂĄsir` |\n| `Given` | `*``Ef` |\n| `When` | `*``Þegar` |\n| `Then` | `*``Þá` |\n| `And` | `*``Og` |\n| `But` | `*``En` |\n\n### Italian/italiano (`it`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `FunzionalitĂ``Esigenza di Business``AbilitĂ` |\n| `Background` | `Contesto` |\n| `Rule` | `Regola` |\n| `Scenario` | `Esempio``Scenario` |\n| `Scenario Outline` | `Schema dello scenario` |\n| `Examples` | `Esempi` |\n| `Given` | `*``Dato``Data``Dati``Date` |\n| `When` | `*``Quando` |\n| `Then` | `*``Allora` |\n| `And` | `*``E``Ed` |\n| `But` | `*``Ma` |\n\n### Japanese/日本語 (`ja`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `フィーチャ``機能` |\n| `Background` | `背景` |\n| `Rule` | `ネミネ` |\n| `Scenario` | `シナリオ` |\n| `Scenario Outline` | `シナリオアウトライン``シナリオテンプレート``テンプレ``シナリオテンプレ` |\n| `Examples` | `例``サンプル` |\n| `Given` | `*``前提` |\n| `When` | `*``もし` |\n| `Then` | `*``ならば` |\n| `And` | `*``且つ``かつ` |\n| `But` | `*``然し``しかし``但し``ただし` |\n\n### Javanese/Basa Jawa (`jv`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Fitur` |\n| `Background` | `Dasar` |\n| `Rule` | `Rule` |\n| `Scenario` | `Skenario` |\n| `Scenario Outline` | `Konsep skenario` |\n| `Examples` | `Conto``Contone` |\n| `Given` | `*``Nalika``Nalikaning` |\n| `When` | `*``Manawa``Menawa` |\n| `Then` | `*``Njuk``Banjur` |\n| `And` | `*``Lan` |\n| `But` | `*``Tapi``Nanging``Ananging` |\n\n### Georgian/ქართული (`ka`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `თვისება``მოთხოვნა` |\n| `Background` | `კონტექსტი` |\n| `Rule` | `წესი` |\n| `Scenario` | `მაგალითად``მაგალითი``მაგ``სცენარი` |\n| `Scenario Outline` | `სცენარის ნიმუში``სცენარის შაბლონი``ნიმუში``შაბლონი` |\n| `Examples` | `მაგალითები` |\n| `Given` | `*``მოცემული``მოცემულია``ვთქვათ` |\n| `When` | `*``როდესაც``როცა``როგორც კი``თუ` |\n| `Then` | `*``მაშინ` |\n| `And` | `*``და``ასევე` |\n| `But` | `*``მაგრამ``თუმცა` |\n\n### Kannada/ಕನ್ನಡ (`kn`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `ಹೆಚ್ಚಳ` |\n| `Background` | `ಹಿನ್ನೆಲೆ` |\n| `Rule` | `Rule` |\n| `Scenario` | `ಉದಾಹರಣೆ``ಕಥಾಸಾರಾಂಶ` |\n| `Scenario Outline` | `ವಿವರಣೆ` |\n| `Examples` | `ಉದಾಹರಣೆಗಳು` |\n| `Given` | `*``ನೀಡಿದ` |\n| `When` | `*``ಸ್ಥಿತಿಯನ್ನು` |\n| `Then` | `*``ನಂತರ` |\n| `And` | `*``ಮತ್ತು` |\n| `But` | `*``ಆದರೆ` |\n\n### Korean/한국어 (`ko`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `기능` |\n| `Background` | `배경` |\n| `Rule` | `규칙` |\n| `Scenario` | `시나리오` |\n| `Scenario Outline` | `시나리오 개요` |\n| `Examples` | `예` |\n| `Given` | `*``쥰깴``ë¨źě €` |\n| `When` | `*``만일``만약` |\n| `Then` | `*``그러면` |\n| `And` | `*``꡸댏ęł` |\n| `But` | `*``하지만``단` |\n\n### Lithuanian/lietuviĹł kalba (`lt`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Savybė` |\n| `Background` | `Kontekstas` |\n| `Rule` | `Rule` |\n| `Scenario` | `Pavyzdys``Scenarijus` |\n| `Scenario Outline` | `Scenarijaus ĹĄablonas` |\n| `Examples` | `PavyzdĹžiai``Scenarijai``Variantai` |\n| `Given` | `*``Duota` |\n| `When` | `*``Kai` |\n| `Then` | `*``Tada` |\n| `And` | `*``Ir` |\n| `But` | `*``Bet` |\n\n### Luxemburgish/LĂŤtzebuergesch (`lu`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `FunktionalitĂŠit` |\n| `Background` | `Hannergrond` |\n| `Rule` | `Rule` |\n| `Scenario` | `Beispill``Szenario` |\n| `Scenario Outline` | `Plang vum Szenario` |\n| `Examples` | `Beispiller` |\n| `Given` | `*``ugeholl` |\n| `When` | `*``wann` |\n| `Then` | `*``dann` |\n| `And` | `*``an``a` |\n| `But` | `*``awer``mä` |\n\n### Latvian/latvieĹĄu (`lv`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Funkcionalitāte``Fīča` |\n| `Background` | `Konteksts``Situācija` |\n| `Rule` | `Rule` |\n| `Scenario` | `Piemērs``Scenārijs` |\n| `Scenario Outline` | `Scenārijs pēc parauga` |\n| `Examples` | `Piemēri``Paraugs` |\n| `Given` | `*``Kad` |\n| `When` | `*``Ja` |\n| `Then` | `*``Tad` |\n| `And` | `*``Un` |\n| `But` | `*``Bet` |\n\n### Macedonian/Македонски (`mk-Cyrl`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Функционалност``Бизнис потреба``Можност` |\n| `Background` | `Контекст``Содржина` |\n| `Rule` | `Rule` |\n| `Scenario` | `Пример``Сценарио``На пример` |\n| `Scenario Outline` | `Преглед на сценарија``Скица``Концепт` |\n| `Examples` | `Примери``Сценарија` |\n| `Given` | `*``Дадено``Дадена` |\n| `When` | `*``Кога` |\n| `Then` | `*``ТОгаш` |\n| `And` | `*``И` |\n| `But` | `*``Но` |\n\n### Macedonian (Latin)/Makedonski (Latinica) (`mk-Latn`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Funkcionalnost``Biznis potreba``Mozhnost` |\n| `Background` | `Kontekst``Sodrzhina` |\n| `Rule` | `Rule` |\n| `Scenario` | `Scenario``Na primer` |\n| `Scenario Outline` | `Pregled na scenarija``Skica``Koncept` |\n| `Examples` | `Primeri``Scenaria` |\n| `Given` | `*``Dadeno``Dadena` |\n| `When` | `*``Koga` |\n| `Then` | `*``Togash` |\n| `And` | `*``I` |\n| `But` | `*``No` |\n\n### Mongolian/ПОнгОН (`mn`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Функц``Функционал` |\n| `Background` | `АгууНга` |\n| `Rule` | `Rule` |\n| `Scenario` | `Сценар` |\n| `Scenario Outline` | `Сценарын төлөвлөгөө` |\n| `Examples` | `Тухайлбал` |\n| `Given` | `*``Өгӊгдсӊн нь``АнŃ` |\n| `When` | `*``Хэрэв` |\n| `Then` | `*``Тэгэхэд``ҎүниК дараа` |\n| `And` | `*``Мөн``Тэгээд` |\n| `But` | `*``Гэхдээ``Харин` |\n\n### Nepali/नेपाली (`ne`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `स༁ािधञ``विशेषता` |\n| `Background` | `पृष्ठभूमी` |\n| `Rule` | `नियऎ` |\n| `Scenario` | `परिदृश्य` |\n| `Scenario Outline` | `परिदृश्य रूपरेखा` |\n| `Examples` | `उदाहरण``उदाहरणहरु` |\n| `Given` | `*``दिइएको``दिएको``यऌि` |\n| `When` | `*``जब` |\n| `Then` | `*``त्यसपछि``अनी` |\n| `And` | `*``र``अनि` |\n| `But` | `*``तर` |\n\n### Dutch/Nederlands (`nl`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Functionaliteit` |\n| `Background` | `Achtergrond` |\n| `Rule` | `Regel` |\n| `Scenario` | `Voorbeeld``Scenario` |\n| `Scenario Outline` | `Abstract Scenario` |\n| `Examples` | `Voorbeelden` |\n| `Given` | `*``Gegeven``Stel` |\n| `When` | `*``Als``Wanneer` |\n| `Then` | `*``Dan` |\n| `And` | `*``En` |\n| `But` | `*``Maar` |\n\n### Norwegian/norsk (`no`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Egenskap` |\n| `Background` | `Bakgrunn` |\n| `Rule` | `Regel` |\n| `Scenario` | `Eksempel``Scenario` |\n| `Scenario Outline` | `Scenariomal``Abstrakt Scenario` |\n| `Examples` | `Eksempler` |\n| `Given` | `*``Gitt` |\n| `When` | `*``NĂĽr` |\n| `Then` | `*``SĂĽ` |\n| `And` | `*``Og` |\n| `But` | `*``Men` |\n\n### Panjabi/ਪੰਜਾਬੀ (`pa`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `ਖਾਸੀਅਤ``ਮੁਹਾਂਦਰਾ``ਨਕਸ਼ ਨੁਹਾਰ` |\n| `Background` | `ਪਿਛੋਕੜ` |\n| `Rule` | `Rule` |\n| `Scenario` | `ਉਦਾਹਰਨ``ਪਟਕਥਾ` |\n| `Scenario Outline` | `ਪਟਕਥਾ ਢਾਂਚਾ``ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ` |\n| `Examples` | `ਉਦਾਹਰਨਾਂ` |\n| `Given` | `*``ਜੇਕਰ``ਜਿਵੇਂ ਕਿ` |\n| `When` | `*``ਜਦੋਂ` |\n| `Then` | `*``ਤ਌` |\n| `And` | `*``ਅਤੇ` |\n| `But` | `*``ਪਰ` |\n\n### Polish/polski (`pl`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Właściwość``Funkcja``Aspekt``Potrzeba biznesowa` |\n| `Background` | `ZałoĹźenia` |\n| `Rule` | `Zasada``Reguła` |\n| `Scenario` | `Przykład``Scenariusz` |\n| `Scenario Outline` | `Szablon scenariusza` |\n| `Examples` | `Przykłady` |\n| `Given` | `*``Zakładając``Mając``Zakładając, Ĺźe` |\n| `When` | `*``JeĹźeli``Jeśli``Gdy``Kiedy` |\n| `Then` | `*``Wtedy` |\n| `And` | `*``Oraz``I` |\n| `But` | `*``Ale` |\n\n### Portuguese/portuguĂŞs (`pt`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Funcionalidade``CaracterĂ­stica``Caracteristica` |\n| `Background` | `Contexto``CenĂĄrio de Fundo``Cenario de Fundo``Fundo` |\n| `Rule` | `Regra` |\n| `Scenario` | `Exemplo``CenĂĄrio``Cenario` |\n| `Scenario Outline` | `Esquema do CenĂĄrio``Esquema do Cenario``Delineação do CenĂĄrio``Delineacao do Cenario` |\n| `Examples` | `Exemplos``CenĂĄrios``Cenarios` |\n| `Given` | `*``Dado``Dada``Dados``Dadas` |\n| `When` | `*``Quando` |\n| `Then` | `*``EntĂŁo``Entao` |\n| `And` | `*``E` |\n| `But` | `*``Mas` |\n\n### Romanian/română (`ro`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Functionalitate``Funcționalitate``FuncĹŁionalitate` |\n| `Background` | `Context` |\n| `Rule` | `Rule` |\n| `Scenario` | `Exemplu``Scenariu` |\n| `Scenario Outline` | `Structura scenariu``Structură scenariu` |\n| `Examples` | `Exemple` |\n| `Given` | `*``Date fiind``Dat fiind``Dată fiind``Dati fiind``Dați fiind``DaĹŁi fiind` |\n| `When` | `*``Cand``Când` |\n| `Then` | `*``Atunci` |\n| `And` | `*``Si``Și``Şi` |\n| `But` | `*``Dar` |\n\n### Russian/русский (`ru`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Функция``Функциональность``Функционал``Свойство``Фича` |\n| `Background` | `Предыстория``Контекст` |\n| `Rule` | `Правило` |\n| `Scenario` | `Пример``Сценарий` |\n| `Scenario Outline` | `Структура сценария``ШайНОн сценария` |\n| `Examples` | `Примеры``Значения` |\n| `Given` | `*``Допустим``Дано``Пусть` |\n| `When` | `*``Когда``Если` |\n| `Then` | `*``ТО``Затем``ТОгда` |\n| `And` | `*``И``К тому Мо``ТакМо` |\n| `But` | `*``Но``А``Иначе` |\n\n### Slovak/Slovensky (`sk`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `PoĹžiadavka``Funkcia``VlastnosĹĽ` |\n| `Background` | `Pozadie` |\n| `Rule` | `Rule` |\n| `Scenario` | `PrĂ­klad``ScenĂĄr` |\n| `Scenario Outline` | `Náčrt ScenĂĄru``Náčrt ScenĂĄra``Osnova ScenĂĄra` |\n| `Examples` | `PrĂ­klady` |\n| `Given` | `*``PokiaÄž``Za predpokladu` |\n| `When` | `*``Keď``Ak` |\n| `Then` | `*``Tak``Potom` |\n| `And` | `*``A``A tieĹž``A taktieĹž``A zĂĄroveň` |\n| `But` | `*``Ale` |\n\n### Slovenian/Slovenski (`sl`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Funkcionalnost``Funkcija``MoĹžnosti``Moznosti``Lastnost``Značilnost` |\n| `Background` | `Kontekst``Osnova``Ozadje` |\n| `Rule` | `Rule` |\n| `Scenario` | `Primer``Scenarij` |\n| `Scenario Outline` | `Struktura scenarija``Skica``Koncept``Oris scenarija``Osnutek` |\n| `Examples` | `Primeri``Scenariji` |\n| `Given` | `Dano``Podano``Zaradi``Privzeto` |\n| `When` | `Ko``Ce``Če``Kadar` |\n| `Then` | `Nato``Potem``Takrat` |\n| `And` | `In``Ter` |\n| `But` | `Toda``Ampak``Vendar` |\n\n### Serbian/Српски (`sr-Cyrl`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Функционалност``Могућност``Особина` |\n| `Background` | `Контекст``Основа``Позадина` |\n| `Rule` | `Правило` |\n| `Scenario` | `Сценарио``Пример` |\n| `Scenario Outline` | `Структура сценарија``Скица``Концепт` |\n| `Examples` | `Примери``Сценарији` |\n| `Given` | `*``За дато``За дате``За дати` |\n| `When` | `*``Када``Кад` |\n| `Then` | `*``Онда` |\n| `And` | `*``И` |\n| `But` | `*``АНи` |\n\n### Serbian (Latin)/Srpski (Latinica) (`sr-Latn`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Funkcionalnost``Mogućnost``Mogucnost``Osobina` |\n| `Background` | `Kontekst``Osnova``Pozadina` |\n| `Rule` | `Pravilo` |\n| `Scenario` | `Scenario``Primer` |\n| `Scenario Outline` | `Struktura scenarija``Skica``Koncept` |\n| `Examples` | `Primeri``Scenariji` |\n| `Given` | `*``Za dato``Za date``Za dati` |\n| `When` | `*``Kada``Kad` |\n| `Then` | `*``Onda` |\n| `And` | `*``I` |\n| `But` | `*``Ali` |\n\n### Swedish/Svenska (`sv`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Egenskap` |\n| `Background` | `Bakgrund` |\n| `Rule` | `Regel` |\n| `Scenario` | `Scenario` |\n| `Scenario Outline` | `Abstrakt Scenario``Scenariomall` |\n| `Examples` | `Exempel` |\n| `Given` | `*``Givet` |\n| `When` | `*``När` |\n| `Then` | `*``SĂĽ` |\n| `And` | `*``Och` |\n| `But` | `*``Men` |\n\n### Tamil/தமிழ் (`ta`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `அம்சம்``வணிக தேவை``திறன்` |\n| `Background` | `பின்னணி` |\n| `Rule` | `Rule` |\n| `Scenario` | `உதாரணமாக``காட்சி` |\n| `Scenario Outline` | `காட்சி சுருக்கம்``காட்சி வார்ப்புரு` |\n| `Examples` | `எடுத்துக்காட்டுகள்``காட்சிகள்``நிலைமைகளில்` |\n| `Given` | `*``கொடுக்கப்பட்ட` |\n| `When` | `*``எப்போது` |\n| `Then` | `*``அப்பொழுது` |\n| `And` | `*``மேலும்``மற்றும்` |\n| `But` | `*``ஆனால்` |\n\n### Thai/ไทย (`th`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `โครงหลัก``ความต้องการทางธุรกิจ``ความสามารถ` |\n| `Background` | `แนวคิด` |\n| `Rule` | `Rule` |\n| `Scenario` | `เหตุการณ์` |\n| `Scenario Outline` | `สรุปเหตุการณ์``โครงสร้างของเหตุการณ์` |\n| `Examples` | `ชุดของตัวอย่าง``ชุดของเหตุการณ์` |\n| `Given` | `*``กำหนดให้` |\n| `When` | `*``เมื่อ` |\n| `Then` | `*``ดังนั้น` |\n| `And` | `*``และ` |\n| `But` | `*``แต่` |\n\n### Telugu/తెలుగు (`te`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `గుణము` |\n| `Background` | `నేపథ్యం` |\n| `Rule` | `Rule` |\n| `Scenario` | `ఉదాహరణ``సన్నివేశం` |\n| `Scenario Outline` | `కథనం` |\n| `Examples` | `ఉదాహరణలు` |\n| `Given` | `*``చెప్పబడినది` |\n| `When` | `*``ఈ పరిస్థితిలో` |\n| `Then` | `*``అప్పుడు` |\n| `And` | `*``ఎరియแ` |\n| `But` | `*``కాని` |\n\n### Klingon/tlhIngan (`tlh`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Qap``Qu'meH 'ut``perbogh``poQbogh malja'``laH` |\n| `Background` | `mo'` |\n| `Rule` | `Rule` |\n| `Scenario` | `lut` |\n| `Scenario Outline` | `lut chovnatlh` |\n| `Examples` | `ghantoH``lutmey` |\n| `Given` | `*``ghu' noblu'``DaH ghu' bejlu'` |\n| `When` | `*``qaSDI'` |\n| `Then` | `*``vaj` |\n| `And` | `*``'ej``latlh` |\n| `But` | `*``'ach``'a` |\n\n### Turkish/TĂźrkçe (`tr`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Özellik``İş Gereksinimi``Gereksinim``İşlev``KullanÄącÄą Hikayesi``Yetenek``Teknik Gereksinim` |\n| `Background` | `Geçmiş``Arka Plan``Ön Koşul``Önkoşul``Önceki Durum``Giriş``Mukaddime``Mevcut Durum` |\n| `Rule` | `Kural``İş KuralÄą``Kaide``HĂźkĂźm``Madde` |\n| `Scenario` | `Örnek``Senaryo``Durum``Vaka` |\n| `Scenario Outline` | `Senaryo taslağı``Senaryo şablonu` |\n| `Examples` | `Örnekler``Değerler` |\n| `Given` | `*``Mevcut``Önceden``Geçmişte``Daha Ăśnce``HalihazÄąrda``Zaten``Sistemde``Diyelim ki``VarsayalÄąm ki``Farz edelim ki``Kabul edelim ki``BaşlangĹçta``VarsayÄąlan olarak``Biliniyor ki` |\n| `When` | `*``Eğer``Eğer ki``Ne zaman``Ne zaman ki``Şayet` |\n| `Then` | `*``Beklenen``O zaman``Sonuç olarak``BĂśylece``Bunun Ăźzerine``Bu durumda``O takdirde``Şu halde``Netice itibariyle``Buna binaen` |\n| `And` | `*``Ve``Hem de``Bir de``AyrÄąca``İlaveten``Buna ek olarak` |\n| `But` | `*``Fakat``Ama``Ancak``YalnÄąz``Lakin``Meğer ki``Buna mukabil``Aksi halde` |\n\n### Tatar/Татарча (`tt`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Мөмкинлек``Үзенчәлеклелек` |\n| `Background` | `Кереш` |\n| `Rule` | `Rule` |\n| `Scenario` | `Сценарий` |\n| `Scenario Outline` | `Сценарийның төзелеше` |\n| `Examples` | `Үрнәкләр``Мисаллар` |\n| `Given` | `*``Әйтик` |\n| `When` | `*``Әгәр` |\n| `Then` | `*``Нәтиҗәдә` |\n| `And` | `*``Һәм``Вә` |\n| `But` | `*``Ләкин``ӘППа` |\n\n### Ukrainian/Українська (`uk`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Функціонал` |\n| `Background` | `Передумова` |\n| `Rule` | `Rule` |\n| `Scenario` | `Приклад``Сценарій` |\n| `Scenario Outline` | `Структура сценарію` |\n| `Examples` | `Приклади` |\n| `Given` | `*``Припустимо``Припустимо, що``Нехай``Дано` |\n| `When` | `*``Якщо``Коли` |\n| `Then` | `*``ТО``Тоді` |\n| `And` | `*``І``А також``Та` |\n| `But` | `*``АНо` |\n\n### Urdu/اعدو (`ur`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `صلاحیت``ڊاعوباع کی ؜عوعت``خصوصیت` |\n| `Background` | `ٞس منظر` |\n| `Rule` | `Rule` |\n| `Scenario` | `منظرنامہ` |\n| `Scenario Outline` | `منظر نامے ڊا ؎اڊہ` |\n| `Examples` | `مثالیں` |\n| `Given` | `*``اگع``بالفرض``فع؜ کیا` |\n| `When` | `*``؏ب` |\n| `Then` | `*``ٞڞع``تب` |\n| `And` | `*``اوع` |\n| `But` | `*``لیکن` |\n\n### Uzbek/Узбекча (`uz`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `Функционал` |\n| `Background` | `ТариŃ` |\n| `Rule` | `Rule` |\n| `Scenario` | `Сценарий` |\n| `Scenario Outline` | `Сценарий структураси` |\n| `Examples` | `Мисоллар` |\n| `Given` | `*``Belgilangan` |\n| `When` | `*``Агар` |\n| `Then` | `*``Унда` |\n| `And` | `*``Ва` |\n| `But` | `*``Лекин``Бирок``АППО` |\n\n### Vietnamese/Tiáşżng Việt (`vi`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `TĂ­nh năng` |\n| `Background` | `Bối cảnh` |\n| `Rule` | `Quy tắc` |\n| `Scenario` | `TĂŹnh huống``Kịch bản` |\n| `Scenario Outline` | `Khung tĂŹnh huống``Khung kịch bản` |\n| `Examples` | `Dᝯ liệu` |\n| `Given` | `*``Biáşżt``Cho` |\n| `When` | `*``Khi` |\n| `Then` | `*``ThĂŹ` |\n| `And` | `*``VĂ` |\n| `But` | `*``Nhưng` |\n\n### Chinese simplified/简体中文 (`zh-CN`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `功能` |\n| `Background` | `背景` |\n| `Rule` | `Rule``规则` |\n| `Scenario` | `场景``剧本` |\n| `Scenario Outline` | `场景大纲``剧本大纲` |\n| `Examples` | `例子` |\n| `Given` | `*``假如``假设``假定` |\n| `When` | `*``当` |\n| `Then` | `*``那么` |\n| `And` | `*``而且``并且``同时` |\n| `But` | `*``但是` |\n\n### Malayalam/മലയാളം (`ml`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `സവിശേഷത` |\n| `Background` | `പശ്ചാത്തലം` |\n| `Rule` | `നിയമം` |\n| `Scenario` | `രംഗം` |\n| `Scenario Outline` | `സാഹചര്യത്തിന്റെ രൂപരേഖ` |\n| `Examples` | `ഉദാഹരണങ്ങൾ` |\n| `Given` | `*``നൽകിയത്` |\n| `When` | `എപ്പോൾ` |\n| `Then` | `*``പിന്നെ` |\n| `And` | `*``ഒപ്പം` |\n| `But` | `*``പക്ഷേ` |\n\n### Chinese traditional/繁體中文 (`zh-TW`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `功能` |\n| `Background` | `背景` |\n| `Rule` | `Rule` |\n| `Scenario` | `ĺ ´ć™Ż``劇本` |\n| `Scenario Outline` | `ĺ ´ć™Żĺ¤§çśą``劇本大綱` |\n| `Examples` | `例子` |\n| `Given` | `*``假如``假設``假定` |\n| `When` | `*``當` |\n| `Then` | `*``那麼` |\n| `And` | `*``而且``並且``同時` |\n| `But` | `*``但是` |\n\n### Marathi/मराठी (`mr`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `वैशिष्ट्य``स༁ािधञ` |\n| `Background` | `पार्श्वभूमी` |\n| `Rule` | `नियऎ` |\n| `Scenario` | `परिदृश्य` |\n| `Scenario Outline` | `परिदृश्य रूपरेखा` |\n| `Examples` | `उदाहरण` |\n| `Given` | `*``जर``दिलेल्या प्रमाणे` |\n| `When` | `*``जेव्हा` |\n| `Then` | `*``मग``तेव्हा` |\n| `And` | `*``आणि``तसेच` |\n| `But` | `*``पण``परंतु` |\n\n### Amharic/አማርኛ (`amh`)\n\n| Keyword | Equivalent(s) |\n| --- | --- |\n| `Feature` | `ሾል``የተፈለገው ሾል``የሚፈለገው ድርጊት` |\n| `Background` | `ቅድመ ሁኔታ``መነሻ``መነሻ ሀሳብ` |\n| `Rule` | `ህግ` |\n| `Scenario` | `ምሳሌ``ሁናቴ` |\n| `Scenario Outline` | `ሁናቴ ዝርዝር``ሁናቴ አብነት` |\n| `Examples` | `ምሳሌዎች``ሁናቴዎች` |\n| `Given` | `*``የተሰáŒ` |\n| `When` | `*``መቼ` |\n| `Then` | `*``ከዚያ` |\n| `And` | `*``እና` |\n| `But` | `*``ግን` |", "znaku_textu": 29918, "slov": 3442, "odkazu": 23, "kodovani": "iso-8859-2", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:21:51", "sha256": "fa516dde7d5217a71134b90a24abe24e24e5bfa7e5b14b9724a3ce0da342d67c", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://github.com/cucumber", "https://github.com/cucumber/gherkin", "https://github.com/cucumber/website/blob/main/docs/gherkin/languages.mdx"]} {"url": "https://cucumber.io/docs/gherkin/reference", "titulek": "Reference | Cucumber", "h1": "Reference", "popis": "Gherkin uses a set of special keywords to give structure and meaning to", "klicova_slova": "", "kanonicka": "https://cucumber.io/docs/gherkin/reference", "jazyk": "en", "robots_meta": "", "og": {"og:image": "https://cucumber.io/img/logo.svg", "og:url": "https://cucumber.io/docs/gherkin/reference", "og:locale": "en", "og:title": "Reference | Cucumber", "og:description": "Gherkin uses a set of special keywords to give structure and meaning to"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "Gherkin", "item": "https://cucumber.io/docs/gherkin/"}, {"@type": "ListItem", "position": 2, "name": "Reference", "item": "https://cucumber.io/docs/gherkin/reference"}]}], "drobecky": ["Gherkin", "Reference"], "osnova": [{"uroven": 2, "text": "Keywords​"}, {"uroven": 3, "text": "Feature​"}, {"uroven": 3, "text": "Descriptions​"}, {"uroven": 3, "text": "Rule​"}, {"uroven": 3, "text": "Example​"}, {"uroven": 3, "text": "Steps​"}, {"uroven": 4, "text": "Given​"}, {"uroven": 4, "text": "When​"}, {"uroven": 4, "text": "Then​"}, {"uroven": 4, "text": "And, But​"}, {"uroven": 4, "text": "*"}, {"uroven": 3, "text": "Background​"}, {"uroven": 4, "text": "Tips for using Background​"}, {"uroven": 3, "text": "Scenario Outline​"}, {"uroven": 3, "text": "Examples​"}, {"uroven": 2, "text": "Step Arguments​"}, {"uroven": 3, "text": "Doc Strings​"}, {"uroven": 3, "text": "Data Tables​"}, {"uroven": 4, "text": "Table Cell Escaping​"}, {"uroven": 4, "text": "Data Table API​"}, {"uroven": 2, "text": "Spoken Languages​"}], "markdown": "Gherkin uses a set of special keywords to give structure and meaning to\nexecutable specifications. Each keyword is translated to many spoken languages;\nin this reference we'll use English.\n\nMost lines in a Gherkin document start with one of the keywords.\n\nComments are only permitted at the start of a new line, anywhere in the feature file. They begin with zero or more spaces,\nfollowed by a hash sign (`#`) and some text.\n\nBlock comments are currently not supported by Gherkin.\n\nEither spaces or tabs may be used for indentation. The recommended indentation\nlevel is two spaces. Here is an example:\n\n```\nFeature: Guess the word Scenario: Maker starts a game When the Maker starts a game Then the Maker waits for a Breaker to join Scenario: Breaker joins a game Given the Maker has started a game with the word \"silky\" When the Breaker joins the Maker's game Then the Breaker must guess a word with 5 characters\n```\n\nThe trailing portion (after the keyword) of each step is matched to\na code block, called a [step definition](/docs/cucumber/step-definitions).\n\nPlease note that some keywords *are* followed by a colon (`:`) and some *are not*. If you add a colon after a keyword\nthat should not be followed by one, your test(s) will be ignored.\n\n## Keywords​\n\nEach line that isn't a blank line has to start with a Gherkin *keyword*, followed by any text you like. The only exceptions are the free-form descriptions placed underneath `Example`/`Scenario`, `Background`, `Scenario Outline` and `Rule` lines.\n\nThe primary keywords are:\n\n- `Feature`\n- `Rule` (as of Gherkin 6)\n- `Example` (or `Scenario` )\n- `Given` , `When` , `Then` , `And` , `But` for steps (or `*` )\n- `Background`\n- `Scenario Outline` (or `Scenario Template` )\n- `Examples` (or `Scenarios` )\n\nThere are a few secondary keywords as well:\n\n- `\"\"\"` (Doc Strings)\n- `|` (Data Tables)\n- `@` (Tags)\n- `#` (Comments)\n\nLocalisation\n\nGherkin is localised for many spoken languages; each has their own localised equivalent of these keywords.\n\n### Feature​\n\nThe purpose of the `Feature` keyword is to provide a high-level description\nof a software feature, and to group related scenarios.\n\nThe first primary keyword in a Gherkin document must always be `Feature`, followed\nby a `:` and a short text that describes the feature.\n\nYou can add free-form text underneath `Feature` to add more description.\n\nThese description lines are ignored by Cucumber at runtime, but are available for reporting (they are included by reporting tools like the official HTML formatter).\n\n```\nFeature: Guess the word The word guess game is a turn-based game for two players. The Maker makes a word for the Breaker to guess. The game is over when the Breaker guesses the Maker's word. Example: Maker starts a game\n```\n\nThe name and the optional description have no special meaning to Cucumber. Their purpose is to provide\na place for you to document important aspects of the feature, such as a brief explanation\nand a list of business rules (general acceptance criteria).\n\nThe free format description for `Feature` ends when you start a line with the keyword `Background`, `Rule`, `Example` or `Scenario Outline` (or their alias keywords).\n\nYou can place [tags](/docs/cucumber/api/#tags) above `Feature` to group related features,\nindependent of your file and directory structure.\n\nYou can only have a single `Feature` in a `.feature` file.\n\n### Descriptions​\n\nFree-form descriptions (as described above for `Feature`) can also be placed underneath\n`Example`/`Scenario`, `Background`, `Scenario Outline` and `Rule`.\n\nYou can write anything you like, as long as no line starts with a keyword.\n\nDescriptions can be in the form of Markdown - formatters including the official HTML formatter support this.\n\n### Rule​\n\nThe (optional) `Rule` keyword has been part of Gherkin since v6.\n\nThe purpose of the `Rule` keyword is to represent one *business rule* that should be implemented.\nIt provides additional information for a feature.\nA `Rule` is used to group together several scenarios\nthat belong to this *business rule*. A `Rule` should contain one or more scenarios that illustrate the particular rule.\n\nFor example:\n\n```\nFeature: Highlander Rule: There can be only One Example: Only One -- More than one alive Given there are 3 ninjas And there are more than one ninja alive When 2 ninjas meet, they will fight Then one ninja dies (but not me) And there is one ninja less alive Example: Only One -- One alive Given there is only 1 ninja alive Then they will live forever ;-) Rule: There can be Two (in some cases) Example: Two -- Dead and Reborn as Phoenix ...\n```\n\n### Example​\n\nThis is a *concrete example* that *illustrates* a business rule. It consists of\na list of steps.\n\nThe keyword `Scenario` is a synonym of the keyword `Example`.\n\nYou can have as many steps as you like, but we recommend 3-5 steps per example. Having too many steps will cause the example to lose its expressive power as a specification and documentation.\n\nIn addition to being a specification and documentation, an example is also a *test*. As a whole, your examples are an\n*executable specification* of the system.\n\nExamples follow this same pattern:\n\n- Describe an initial context ( `Given` steps)\n- Describe an event ( `When` steps)\n- Describe an expected outcome ( `Then` steps)\n\n### Steps​\n\nEach step starts with `Given`, `When`, `Then`, `And`, or `But`.\n\nCucumber executes each step in a scenario one at a time, in the sequence you’ve written them in.\nWhen Cucumber tries to execute a step, it looks for a matching step definition to execute.\n\nKeywords are not taken into account when looking for a step definition. This means you cannot have a\n`Given`, `When`, `Then`, `And` or `But` step with the same text as another step.\n\nCucumber considers the following steps duplicates:\n\n```\nGiven there is money in my accountThen there is money in my account\n```\n\nThis might seem like a limitation, but it forces you to come up with a less ambiguous, more clear\ndomain language:\n\n```\nGiven my account has a balance of £430Then my account should have a balance of £430\n```\n\n#### Given​\n\n`Given` steps are used to describe the initial context of the system - the *scene* of the scenario.\nIt is typically something that happened in the *past*.\n\nWhen Cucumber executes a `Given` step, it will configure the system to be in a well-defined state,\nsuch as creating and configuring objects or adding data to a test database.\n\nThe purpose of `Given` steps is to **put the system in a known state** before the user (or external system) starts interacting with the system (in the `When` steps).\nAvoid talking about user interaction in `Given`'s. If you were creating use cases, `Given`'s would be your preconditions.\n\nIt's okay to have several `Given` steps (use `And` or `But` for number 2 and upwards to make it more readable).\n\nExamples:\n\n- Mickey and Minnie have started a game\n- I am logged in\n- Joe has a balance of £42\n\n#### When​\n\n`When` steps are used to describe an event, or an *action*. This can be a person interacting with the system, or it can be an event triggered by another system.\n\nExamples:\n\n- Guess a word\n- Invite a friend\n- Withdraw money\n\nImagine it's 1922\n\nMost software does something people could do manually (just not as efficiently).\n\nTry hard to come up with examples that don't make any assumptions about\ntechnology or user interface. Imagine it's 1922, when there were no computers.\n\nImplementation details should be hidden in the [step definitions](/docs/cucumber/step-definitions).\n\n#### Then​\n\n`Then` steps are used to describe an *expected* outcome, or result.\n\nThe [step definition](/docs/cucumber/step-definitions) of a `Then` step should use an *assertion* to\ncompare the *actual* outcome (what the system actually does) to the *expected* outcome\n(what the step says the system is supposed to do).\n\nAn outcome *should* be on an **observable** output. That is, something that comes *out* of the system (report, user interface, message), and not a behaviour deeply buried inside the system (like a record in a database).\n\nExamples:\n\n- See that the guessed word was wrong\n- Receive an invitation\n- Card should be swallowed\n\nWhile it might be tempting to implement `Then` steps to look in the database - resist that temptation!\n\nYou should only verify an outcome that is observable for the user (or external system), and changes to a database are usually not.\n\n#### And, But​\n\nIf you have successive `Given`'s or `Then`'s, you *could* write:\n\n```\nExample: Multiple Givens Given one thing Given another thing Given yet another thing When I open my eyes Then I should see something Then I shouldn't see something else\n```\n\nOr, you could make the example more fluidly structured by replacing the successive `Given`'s or `Then`'s with `And`'s and `But`'s:\n\n```\nExample: Multiple Givens Given one thing And another thing And yet another thing When I open my eyes Then I should see something But I shouldn't see something else\n```\n\n#### *\n\nGherkin also supports using an asterisk (`*`) in place of any of the normal step keywords. This can be helpful when you have some steps that are effectively a *list of things*, so you can express it more like bullet points where otherwise the natural language of `And` etc might not read so elegantly.\n\nFor example:\n\n```\nScenario: All done Given I am out shopping And I have eggs And I have milk And I have butter When I check my list Then I don't need anything\n```\n\nCould be expressed as:\n\n```\nScenario: All done Given I am out shopping * I have eggs * I have milk * I have butter When I check my list Then I don't need anything\n```\n\n### Background​\n\nOccasionally you'll find yourself repeating the same `Given` steps in all of the scenarios in a `Feature`.\n\nSince it is repeated in every scenario, this is an indication that those steps\nare not *essential* to describe the scenarios; they are *incidental details*. You can literally move such `Given` steps to the background, by grouping them under a `Background` section.\n\nA `Background` allows you to add some context to the scenarios that follow it. It can contain one or more `Given` steps, which are run before *each* scenario, but after any [Before hooks](/docs/cucumber/api/#hooks).\n\nA `Background` is placed before the first `Scenario`/`Example`, at the same level of indentation.\n\nFor example:\n\n```\nFeature: Multiple site support Only blog owners can post to a blog, except administrators, who can post to all blogs. Background: Given a global administrator named \"Greg\" And a blog named \"Greg's anti-tax rants\" And a customer named \"Dr. Bill\" And a blog named \"Expensive Therapy\" owned by \"Dr. Bill\" Scenario: Dr. Bill posts to his own blog Given I am logged in as Dr. Bill When I try to post to \"Expensive Therapy\" Then I should see \"Your article was published.\" Scenario: Dr. Bill tries to post to somebody else's blog, and fails Given I am logged in as Dr. Bill When I try to post to \"Greg's anti-tax rants\" Then I should see \"Hey! That's not your blog!\" Scenario: Greg posts to a client's blog Given I am logged in as Greg When I try to post to \"Expensive Therapy\" Then I should see \"Your article was published.\"\n```\n\n`Background` is also supported at the `Rule` level, for example:\n\n```\nFeature: Overdue tasks Let users know when tasks are overdue, even when using other features of the app Rule: Users are notified about overdue tasks on first use of the day Background: Given I have overdue tasks Example: First use of the day Given I last used the app yesterday When I use the app Then I am notified about overdue tasks Example: Already used today Given I last used the app earlier today When I use the app Then I am not notified about overdue tasks ...\n```\n\nYou can only have one set of `Background` steps per `Feature` or `Rule`. If you need different `Background` steps for different scenarios, consider breaking up your set of scenarios into more `Rule`s or more `Feature`s.\n\nFor a less explicit alternative to `Background`, check out [conditional hooks](/docs/cucumber/api/#conditional-hooks).\n\n#### Tips for using Background​\n\n- Don't use `Background` to set up **complicated states** , unless that state is actually something the client needs to know.\n - For example, if the user and site names don't matter to the client, use a higher-level step such as `Given I am logged in as a site owner` .\n- Keep your `Background` section **short** .\n - The client needs to actually remember this stuff when reading the scenarios. If the `Background` is more than 4 lines long, consider moving some of the irrelevant details into higher-level steps.\n- Make your `Background` section **vivid** .\n - Use colourful names, and try to tell a story. The human brain keeps track of stories much better than it keeps track of names like `\"User A\"` , `\"User B\"` , `\"Site 1\"` , and so on.\n- Keep your scenarios **short** , and don't have too many.\n - If the `Background` section has scrolled off the screen, the reader no longer has a full overview of what's happening.\n Think about using higher-level steps, or splitting the `*.feature` file.\n\n### Scenario Outline​\n\nThe `Scenario Outline` keyword can be used to run the same `Scenario` multiple times,\nwith different combinations of values.\n\nThe keyword `Scenario Template` is a synonym of the keyword `Scenario Outline`.\n\nCopying and pasting scenarios to use different values quickly becomes tedious and repetitive:\n\n```\nScenario: eat 5 out of 12 Given there are 12 cucumbers When I eat 5 cucumbers Then I should have 7 cucumbersScenario: eat 5 out of 20 Given there are 20 cucumbers When I eat 5 cucumbers Then I should have 15 cucumbers\n```\n\nWe can collapse these two similar scenarios into a `Scenario Outline`.\n\nScenario outlines allow us to more concisely express these scenarios through the use\nof a template with `< >`-delimited parameters:\n\n```\nScenario Outline: eating Given there are cucumbers When I eat cucumbers Then I should have cucumbers Examples: | start | eat | left | | 12 | 5 | 7 | | 20 | 5 | 15 |\n```\n\n### Examples​\n\nA `Scenario Outline` must contain one or more `Examples` (or `Scenarios`) section(s). Its steps are interpreted as a\ntemplate\nwhich is never directly run. Instead, the `Scenario Outline` is run *once for each row* in\nthe `Examples` section beneath it (not counting the first header row).\n\nThe steps can use `<>` delimited *parameters* that reference headers in the examples table.\nCucumber will replace these parameters with values from the table *before* it tries\nto match the step against a step definition.\n\nYou can use parameters in `Scenario Outline` descriptions as well.\n\nYou can also use parameters in multiline step arguments.\n\n## Step Arguments​\n\nIn some cases you might want to pass more data to a step than fits on a single line.\nFor this purpose Gherkin has `Doc Strings` and `Data Tables`.\n\n### Doc Strings​\n\n`Doc Strings` are handy for passing a larger piece of text to a step definition.\n\nThe text should be offset by delimiters consisting of three double-quote marks on lines of their own:\n\n```\nGiven a blog post named \"Random\" with Markdown body \"\"\" Some Title, Eh? =============== Here is the first paragraph of my blog post. Lorem ipsum dolor sit amet, consectetur adipiscing elit. \"\"\"\n```\n\nIn your step definition, there’s no need to find this text and match it in your pattern.\nIt will automatically be passed as the last argument in the step definition.\n\nIndentation of the opening `\"\"\"` is unimportant, although common practice is two spaces in from the enclosing step.\nThe indentation inside the triple quotes, however, is significant. Each line of the Doc String will be dedented according to the opening `\"\"\"`. Indentation beyond the column of the opening `\"\"\"` will therefore be preserved.\n\nDoc strings also support using three backticks as the delimiter:\n\n```\nGiven a blog post named \"Random\" with Markdown body ``` Some Title, Eh? =============== Here is the first paragraph of my blog post. Lorem ipsum dolor sit amet, consectetur adipiscing elit. ```\n```\n\nThis might be familiar for those used to writing with Markdown.\n\nTool support for backticks\n\nWhilst all current versions of Cucumber support backticks as the delimiter, many tools like text editors don't (yet).\n\nIt's possible to annotate the DocString with the type of content it contains. You specify the content type after the\ntriple quote, as follows:\n\n```\nGiven a blog post named \"Random\" with Markdown body \"\"\"markdown Some Title, Eh? =============== Here is the first paragraph of my blog post. Lorem ipsum dolor sit amet, consectetur adipiscing elit. \"\"\"\n```\n\nTool support for content types\n\nWhilst all current versions of Cucumber support content types as the\ndelimiter, many tools like text editors don't (yet).\n\n### Data Tables​\n\n`Data Tables` are handy for passing a list of values to a step definition:\n\n```\nGiven the following users exist: | name | email | twitter | | Aslak | [email protected] | @aslak_hellesoy | | Julien | [email protected] | @jbpros | | Matt | [email protected] | @mattwynne |\n```\n\nJust like `Doc Strings`, `Data Tables` will be passed to the step definition as the last argument.\n\n#### Table Cell Escaping​\n\nIf you want to use a newline character in a table cell, you can write this\nas `\\n`. If you need a `|` as part of the cell, you can escape it as `\\|`. And\nfinally, if you need a `\\`, you can escape that with `\\\\`.\n\n#### Data Table API​\n\nCucumber provides a rich API for manipulating tables from within step definitions.\nSee the [Data Table API reference](https://github.com/cucumber/cucumber-jvm/tree/main/datatable) reference for\nmore details.\n\n## Spoken Languages​\n\nThe language you choose for Gherkin should be the same language your users and\ndomain experts use when they talk about the domain. Translating between\ntwo languages should be avoided.\n\nThis is why Gherkin has been translated to [over 70 languages](/docs/gherkin/languages) .\n\nHere is a Gherkin scenario written in Norwegian:\n\n```\nFunksjonalitet: Gjett et ord Eksempel: Ordmaker starter et spill Når Ordmaker starter et spill Så må Ordmaker vente på at Gjetter blir med Eksempel: Gjetter blir med Gitt at Ordmaker har startet et spill med ordet \"bløtt\" Når Gjetter blir med på Ordmakers spill Så må Gjetter gjette et ord på 5 bokstaver\n```\n\nA `# language:` header on the first line of a feature file tells Cucumber what\nspoken language to use - for example `# language: fr` for French.\nIf you omit this header, Cucumber will default to English (`en`).\n\nSome Cucumber implementations also let you set the default language in the\nconfiguration, so you don't need to place the `# language` header in every file.", "znaku_textu": 17928, "slov": 3094, "odkazu": 49, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:21:52", "sha256": "007e4cda179a7530d568cefe38355881f025f916e4e98e55cca535600aace403", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://github.com/cucumber", "https://github.com/cucumber/cucumber-jvm/tree/main/datatable", "https://github.com/cucumber/website/blob/main/docs/gherkin/reference.md"]} {"url": "https://cucumber.io/docs/gherkin/reference/", "titulek": "Reference | Cucumber", "h1": "Reference", "popis": "Gherkin uses a set of special keywords to give structure and meaning to", "klicova_slova": "", "kanonicka": "https://cucumber.io/docs/gherkin/reference", "jazyk": "en", "robots_meta": "", "og": {"og:image": "https://cucumber.io/img/logo.svg", "og:url": "https://cucumber.io/docs/gherkin/reference", "og:locale": "en", "og:title": "Reference | Cucumber", "og:description": "Gherkin uses a set of special keywords to give structure and meaning to"}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "Gherkin", "item": "https://cucumber.io/docs/gherkin/"}, {"@type": "ListItem", "position": 2, "name": "Reference", "item": "https://cucumber.io/docs/gherkin/reference"}]}], "drobecky": ["Gherkin", "Reference"], "osnova": [{"uroven": 2, "text": "Keywords​"}, {"uroven": 3, "text": "Feature​"}, {"uroven": 3, "text": "Descriptions​"}, {"uroven": 3, "text": "Rule​"}, {"uroven": 3, "text": "Example​"}, {"uroven": 3, "text": "Steps​"}, {"uroven": 4, "text": "Given​"}, {"uroven": 4, "text": "When​"}, {"uroven": 4, "text": "Then​"}, {"uroven": 4, "text": "And, But​"}, {"uroven": 4, "text": "*"}, {"uroven": 3, "text": "Background​"}, {"uroven": 4, "text": "Tips for using Background​"}, {"uroven": 3, "text": "Scenario Outline​"}, {"uroven": 3, "text": "Examples​"}, {"uroven": 2, "text": "Step Arguments​"}, {"uroven": 3, "text": "Doc Strings​"}, {"uroven": 3, "text": "Data Tables​"}, {"uroven": 4, "text": "Table Cell Escaping​"}, {"uroven": 4, "text": "Data Table API​"}, {"uroven": 2, "text": "Spoken Languages​"}], "markdown": "Gherkin uses a set of special keywords to give structure and meaning to\nexecutable specifications. Each keyword is translated to many spoken languages;\nin this reference we'll use English.\n\nMost lines in a Gherkin document start with one of the keywords.\n\nComments are only permitted at the start of a new line, anywhere in the feature file. They begin with zero or more spaces,\nfollowed by a hash sign (`#`) and some text.\n\nBlock comments are currently not supported by Gherkin.\n\nEither spaces or tabs may be used for indentation. The recommended indentation\nlevel is two spaces. Here is an example:\n\n```\nFeature: Guess the word Scenario: Maker starts a game When the Maker starts a game Then the Maker waits for a Breaker to join Scenario: Breaker joins a game Given the Maker has started a game with the word \"silky\" When the Breaker joins the Maker's game Then the Breaker must guess a word with 5 characters\n```\n\nThe trailing portion (after the keyword) of each step is matched to\na code block, called a [step definition](/docs/cucumber/step-definitions).\n\nPlease note that some keywords *are* followed by a colon (`:`) and some *are not*. If you add a colon after a keyword\nthat should not be followed by one, your test(s) will be ignored.\n\n## Keywords​\n\nEach line that isn't a blank line has to start with a Gherkin *keyword*, followed by any text you like. The only exceptions are the free-form descriptions placed underneath `Example`/`Scenario`, `Background`, `Scenario Outline` and `Rule` lines.\n\nThe primary keywords are:\n\n- `Feature`\n- `Rule` (as of Gherkin 6)\n- `Example` (or `Scenario` )\n- `Given` , `When` , `Then` , `And` , `But` for steps (or `*` )\n- `Background`\n- `Scenario Outline` (or `Scenario Template` )\n- `Examples` (or `Scenarios` )\n\nThere are a few secondary keywords as well:\n\n- `\"\"\"` (Doc Strings)\n- `|` (Data Tables)\n- `@` (Tags)\n- `#` (Comments)\n\nLocalisation\n\nGherkin is localised for many spoken languages; each has their own localised equivalent of these keywords.\n\n### Feature​\n\nThe purpose of the `Feature` keyword is to provide a high-level description\nof a software feature, and to group related scenarios.\n\nThe first primary keyword in a Gherkin document must always be `Feature`, followed\nby a `:` and a short text that describes the feature.\n\nYou can add free-form text underneath `Feature` to add more description.\n\nThese description lines are ignored by Cucumber at runtime, but are available for reporting (they are included by reporting tools like the official HTML formatter).\n\n```\nFeature: Guess the word The word guess game is a turn-based game for two players. The Maker makes a word for the Breaker to guess. The game is over when the Breaker guesses the Maker's word. Example: Maker starts a game\n```\n\nThe name and the optional description have no special meaning to Cucumber. Their purpose is to provide\na place for you to document important aspects of the feature, such as a brief explanation\nand a list of business rules (general acceptance criteria).\n\nThe free format description for `Feature` ends when you start a line with the keyword `Background`, `Rule`, `Example` or `Scenario Outline` (or their alias keywords).\n\nYou can place [tags](/docs/cucumber/api/#tags) above `Feature` to group related features,\nindependent of your file and directory structure.\n\nYou can only have a single `Feature` in a `.feature` file.\n\n### Descriptions​\n\nFree-form descriptions (as described above for `Feature`) can also be placed underneath\n`Example`/`Scenario`, `Background`, `Scenario Outline` and `Rule`.\n\nYou can write anything you like, as long as no line starts with a keyword.\n\nDescriptions can be in the form of Markdown - formatters including the official HTML formatter support this.\n\n### Rule​\n\nThe (optional) `Rule` keyword has been part of Gherkin since v6.\n\nThe purpose of the `Rule` keyword is to represent one *business rule* that should be implemented.\nIt provides additional information for a feature.\nA `Rule` is used to group together several scenarios\nthat belong to this *business rule*. A `Rule` should contain one or more scenarios that illustrate the particular rule.\n\nFor example:\n\n```\nFeature: Highlander Rule: There can be only One Example: Only One -- More than one alive Given there are 3 ninjas And there are more than one ninja alive When 2 ninjas meet, they will fight Then one ninja dies (but not me) And there is one ninja less alive Example: Only One -- One alive Given there is only 1 ninja alive Then they will live forever ;-) Rule: There can be Two (in some cases) Example: Two -- Dead and Reborn as Phoenix ...\n```\n\n### Example​\n\nThis is a *concrete example* that *illustrates* a business rule. It consists of\na list of steps.\n\nThe keyword `Scenario` is a synonym of the keyword `Example`.\n\nYou can have as many steps as you like, but we recommend 3-5 steps per example. Having too many steps will cause the example to lose its expressive power as a specification and documentation.\n\nIn addition to being a specification and documentation, an example is also a *test*. As a whole, your examples are an\n*executable specification* of the system.\n\nExamples follow this same pattern:\n\n- Describe an initial context ( `Given` steps)\n- Describe an event ( `When` steps)\n- Describe an expected outcome ( `Then` steps)\n\n### Steps​\n\nEach step starts with `Given`, `When`, `Then`, `And`, or `But`.\n\nCucumber executes each step in a scenario one at a time, in the sequence you’ve written them in.\nWhen Cucumber tries to execute a step, it looks for a matching step definition to execute.\n\nKeywords are not taken into account when looking for a step definition. This means you cannot have a\n`Given`, `When`, `Then`, `And` or `But` step with the same text as another step.\n\nCucumber considers the following steps duplicates:\n\n```\nGiven there is money in my accountThen there is money in my account\n```\n\nThis might seem like a limitation, but it forces you to come up with a less ambiguous, more clear\ndomain language:\n\n```\nGiven my account has a balance of £430Then my account should have a balance of £430\n```\n\n#### Given​\n\n`Given` steps are used to describe the initial context of the system - the *scene* of the scenario.\nIt is typically something that happened in the *past*.\n\nWhen Cucumber executes a `Given` step, it will configure the system to be in a well-defined state,\nsuch as creating and configuring objects or adding data to a test database.\n\nThe purpose of `Given` steps is to **put the system in a known state** before the user (or external system) starts interacting with the system (in the `When` steps).\nAvoid talking about user interaction in `Given`'s. If you were creating use cases, `Given`'s would be your preconditions.\n\nIt's okay to have several `Given` steps (use `And` or `But` for number 2 and upwards to make it more readable).\n\nExamples:\n\n- Mickey and Minnie have started a game\n- I am logged in\n- Joe has a balance of £42\n\n#### When​\n\n`When` steps are used to describe an event, or an *action*. This can be a person interacting with the system, or it can be an event triggered by another system.\n\nExamples:\n\n- Guess a word\n- Invite a friend\n- Withdraw money\n\nImagine it's 1922\n\nMost software does something people could do manually (just not as efficiently).\n\nTry hard to come up with examples that don't make any assumptions about\ntechnology or user interface. Imagine it's 1922, when there were no computers.\n\nImplementation details should be hidden in the [step definitions](/docs/cucumber/step-definitions).\n\n#### Then​\n\n`Then` steps are used to describe an *expected* outcome, or result.\n\nThe [step definition](/docs/cucumber/step-definitions) of a `Then` step should use an *assertion* to\ncompare the *actual* outcome (what the system actually does) to the *expected* outcome\n(what the step says the system is supposed to do).\n\nAn outcome *should* be on an **observable** output. That is, something that comes *out* of the system (report, user interface, message), and not a behaviour deeply buried inside the system (like a record in a database).\n\nExamples:\n\n- See that the guessed word was wrong\n- Receive an invitation\n- Card should be swallowed\n\nWhile it might be tempting to implement `Then` steps to look in the database - resist that temptation!\n\nYou should only verify an outcome that is observable for the user (or external system), and changes to a database are usually not.\n\n#### And, But​\n\nIf you have successive `Given`'s or `Then`'s, you *could* write:\n\n```\nExample: Multiple Givens Given one thing Given another thing Given yet another thing When I open my eyes Then I should see something Then I shouldn't see something else\n```\n\nOr, you could make the example more fluidly structured by replacing the successive `Given`'s or `Then`'s with `And`'s and `But`'s:\n\n```\nExample: Multiple Givens Given one thing And another thing And yet another thing When I open my eyes Then I should see something But I shouldn't see something else\n```\n\n#### *\n\nGherkin also supports using an asterisk (`*`) in place of any of the normal step keywords. This can be helpful when you have some steps that are effectively a *list of things*, so you can express it more like bullet points where otherwise the natural language of `And` etc might not read so elegantly.\n\nFor example:\n\n```\nScenario: All done Given I am out shopping And I have eggs And I have milk And I have butter When I check my list Then I don't need anything\n```\n\nCould be expressed as:\n\n```\nScenario: All done Given I am out shopping * I have eggs * I have milk * I have butter When I check my list Then I don't need anything\n```\n\n### Background​\n\nOccasionally you'll find yourself repeating the same `Given` steps in all of the scenarios in a `Feature`.\n\nSince it is repeated in every scenario, this is an indication that those steps\nare not *essential* to describe the scenarios; they are *incidental details*. You can literally move such `Given` steps to the background, by grouping them under a `Background` section.\n\nA `Background` allows you to add some context to the scenarios that follow it. It can contain one or more `Given` steps, which are run before *each* scenario, but after any [Before hooks](/docs/cucumber/api/#hooks).\n\nA `Background` is placed before the first `Scenario`/`Example`, at the same level of indentation.\n\nFor example:\n\n```\nFeature: Multiple site support Only blog owners can post to a blog, except administrators, who can post to all blogs. Background: Given a global administrator named \"Greg\" And a blog named \"Greg's anti-tax rants\" And a customer named \"Dr. Bill\" And a blog named \"Expensive Therapy\" owned by \"Dr. Bill\" Scenario: Dr. Bill posts to his own blog Given I am logged in as Dr. Bill When I try to post to \"Expensive Therapy\" Then I should see \"Your article was published.\" Scenario: Dr. Bill tries to post to somebody else's blog, and fails Given I am logged in as Dr. Bill When I try to post to \"Greg's anti-tax rants\" Then I should see \"Hey! That's not your blog!\" Scenario: Greg posts to a client's blog Given I am logged in as Greg When I try to post to \"Expensive Therapy\" Then I should see \"Your article was published.\"\n```\n\n`Background` is also supported at the `Rule` level, for example:\n\n```\nFeature: Overdue tasks Let users know when tasks are overdue, even when using other features of the app Rule: Users are notified about overdue tasks on first use of the day Background: Given I have overdue tasks Example: First use of the day Given I last used the app yesterday When I use the app Then I am notified about overdue tasks Example: Already used today Given I last used the app earlier today When I use the app Then I am not notified about overdue tasks ...\n```\n\nYou can only have one set of `Background` steps per `Feature` or `Rule`. If you need different `Background` steps for different scenarios, consider breaking up your set of scenarios into more `Rule`s or more `Feature`s.\n\nFor a less explicit alternative to `Background`, check out [conditional hooks](/docs/cucumber/api/#conditional-hooks).\n\n#### Tips for using Background​\n\n- Don't use `Background` to set up **complicated states** , unless that state is actually something the client needs to know.\n - For example, if the user and site names don't matter to the client, use a higher-level step such as `Given I am logged in as a site owner` .\n- Keep your `Background` section **short** .\n - The client needs to actually remember this stuff when reading the scenarios. If the `Background` is more than 4 lines long, consider moving some of the irrelevant details into higher-level steps.\n- Make your `Background` section **vivid** .\n - Use colourful names, and try to tell a story. The human brain keeps track of stories much better than it keeps track of names like `\"User A\"` , `\"User B\"` , `\"Site 1\"` , and so on.\n- Keep your scenarios **short** , and don't have too many.\n - If the `Background` section has scrolled off the screen, the reader no longer has a full overview of what's happening.\n Think about using higher-level steps, or splitting the `*.feature` file.\n\n### Scenario Outline​\n\nThe `Scenario Outline` keyword can be used to run the same `Scenario` multiple times,\nwith different combinations of values.\n\nThe keyword `Scenario Template` is a synonym of the keyword `Scenario Outline`.\n\nCopying and pasting scenarios to use different values quickly becomes tedious and repetitive:\n\n```\nScenario: eat 5 out of 12 Given there are 12 cucumbers When I eat 5 cucumbers Then I should have 7 cucumbersScenario: eat 5 out of 20 Given there are 20 cucumbers When I eat 5 cucumbers Then I should have 15 cucumbers\n```\n\nWe can collapse these two similar scenarios into a `Scenario Outline`.\n\nScenario outlines allow us to more concisely express these scenarios through the use\nof a template with `< >`-delimited parameters:\n\n```\nScenario Outline: eating Given there are cucumbers When I eat cucumbers Then I should have cucumbers Examples: | start | eat | left | | 12 | 5 | 7 | | 20 | 5 | 15 |\n```\n\n### Examples​\n\nA `Scenario Outline` must contain one or more `Examples` (or `Scenarios`) section(s). Its steps are interpreted as a\ntemplate\nwhich is never directly run. Instead, the `Scenario Outline` is run *once for each row* in\nthe `Examples` section beneath it (not counting the first header row).\n\nThe steps can use `<>` delimited *parameters* that reference headers in the examples table.\nCucumber will replace these parameters with values from the table *before* it tries\nto match the step against a step definition.\n\nYou can use parameters in `Scenario Outline` descriptions as well.\n\nYou can also use parameters in multiline step arguments.\n\n## Step Arguments​\n\nIn some cases you might want to pass more data to a step than fits on a single line.\nFor this purpose Gherkin has `Doc Strings` and `Data Tables`.\n\n### Doc Strings​\n\n`Doc Strings` are handy for passing a larger piece of text to a step definition.\n\nThe text should be offset by delimiters consisting of three double-quote marks on lines of their own:\n\n```\nGiven a blog post named \"Random\" with Markdown body \"\"\" Some Title, Eh? =============== Here is the first paragraph of my blog post. Lorem ipsum dolor sit amet, consectetur adipiscing elit. \"\"\"\n```\n\nIn your step definition, there’s no need to find this text and match it in your pattern.\nIt will automatically be passed as the last argument in the step definition.\n\nIndentation of the opening `\"\"\"` is unimportant, although common practice is two spaces in from the enclosing step.\nThe indentation inside the triple quotes, however, is significant. Each line of the Doc String will be dedented according to the opening `\"\"\"`. Indentation beyond the column of the opening `\"\"\"` will therefore be preserved.\n\nDoc strings also support using three backticks as the delimiter:\n\n```\nGiven a blog post named \"Random\" with Markdown body ``` Some Title, Eh? =============== Here is the first paragraph of my blog post. Lorem ipsum dolor sit amet, consectetur adipiscing elit. ```\n```\n\nThis might be familiar for those used to writing with Markdown.\n\nTool support for backticks\n\nWhilst all current versions of Cucumber support backticks as the delimiter, many tools like text editors don't (yet).\n\nIt's possible to annotate the DocString with the type of content it contains. You specify the content type after the\ntriple quote, as follows:\n\n```\nGiven a blog post named \"Random\" with Markdown body \"\"\"markdown Some Title, Eh? =============== Here is the first paragraph of my blog post. Lorem ipsum dolor sit amet, consectetur adipiscing elit. \"\"\"\n```\n\nTool support for content types\n\nWhilst all current versions of Cucumber support content types as the\ndelimiter, many tools like text editors don't (yet).\n\n### Data Tables​\n\n`Data Tables` are handy for passing a list of values to a step definition:\n\n```\nGiven the following users exist: | name | email | twitter | | Aslak | [email protected] | @aslak_hellesoy | | Julien | [email protected] | @jbpros | | Matt | [email protected] | @mattwynne |\n```\n\nJust like `Doc Strings`, `Data Tables` will be passed to the step definition as the last argument.\n\n#### Table Cell Escaping​\n\nIf you want to use a newline character in a table cell, you can write this\nas `\\n`. If you need a `|` as part of the cell, you can escape it as `\\|`. And\nfinally, if you need a `\\`, you can escape that with `\\\\`.\n\n#### Data Table API​\n\nCucumber provides a rich API for manipulating tables from within step definitions.\nSee the [Data Table API reference](https://github.com/cucumber/cucumber-jvm/tree/main/datatable) reference for\nmore details.\n\n## Spoken Languages​\n\nThe language you choose for Gherkin should be the same language your users and\ndomain experts use when they talk about the domain. Translating between\ntwo languages should be avoided.\n\nThis is why Gherkin has been translated to [over 70 languages](/docs/gherkin/languages) .\n\nHere is a Gherkin scenario written in Norwegian:\n\n```\nFunksjonalitet: Gjett et ord Eksempel: Ordmaker starter et spill Når Ordmaker starter et spill Så må Ordmaker vente på at Gjetter blir med Eksempel: Gjetter blir med Gitt at Ordmaker har startet et spill med ordet \"bløtt\" Når Gjetter blir med på Ordmakers spill Så må Gjetter gjette et ord på 5 bokstaver\n```\n\nA `# language:` header on the first line of a feature file tells Cucumber what\nspoken language to use - for example `# language: fr` for French.\nIf you omit this header, Cucumber will default to English (`en`).\n\nSome Cucumber implementations also let you set the default language in the\nconfiguration, so you don't need to place the `# language` header in every file.", "znaku_textu": 17928, "slov": 3094, "odkazu": 49, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:21:49", "sha256": "6e8084e8fbd88be0db9ba979f702c9c106ffcc0676a4dd7aeaf6a5ae1b85aeda", "hloubka": 0, "zdroj_objevu": "seed", "ze_seznamu": true, "mime": "text/html", "odkazy_externi": ["https://github.com/cucumber", "https://github.com/cucumber/cucumber-jvm/tree/main/datatable", "https://github.com/cucumber/website/blob/main/docs/gherkin/reference.md"]} {"url": "https://cucumber.io/docs/gherkin/step-organization", "titulek": "Step organization | Cucumber", "h1": "Step organization", "popis": "You can have all of your step definitions in one file, or in multiple files. When you start with your project, all your step definitions will probably be in one file.", "klicova_slova": "", "kanonicka": "https://cucumber.io/docs/gherkin/step-organization", "jazyk": "en", "robots_meta": "", "og": {"og:image": "https://cucumber.io/img/logo.svg", "og:url": "https://cucumber.io/docs/gherkin/step-organization", "og:locale": "en", "og:title": "Step organization | Cucumber", "og:description": "You can have all of your step definitions in one file, or in multiple files. When you start with your project, all your step definitions will probably be in one file."}, "jsonld": [{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "Gherkin", "item": "https://cucumber.io/docs/gherkin/"}, {"@type": "ListItem", "position": 2, "name": "Step organization", "item": "https://cucumber.io/docs/gherkin/step-organization"}]}], "drobecky": ["Gherkin", "Step organization"], "osnova": [{"uroven": 2, "text": "How Cucumber finds your features and step definitions​"}, {"uroven": 2, "text": "Grouping step definitions​"}, {"uroven": 2, "text": "Writing step definitions​"}, {"uroven": 2, "text": "Avoid duplication​"}, {"uroven": 2, "text": "Helper methods​"}], "markdown": "You can have all of your step definitions in one file, or in multiple files. When you start with your project, all your step definitions will probably be in one file.\nAs your project grows, you should split your step definitions into meaningful groups in different files.\nThis will make your project more logical and easier to maintain.\n\n## How Cucumber finds your features and step definitions​\n\nBe aware that, regardless of the directory structure employed, Cucumber effectively flattens the `features/` directory tree when running tests.\nThis means that anything ending in .java inside the directory in which Cucumber is run is treated as a step definition. In the same directory, Cucumber will search for a `Feature` corresponding to that step definition.\nThis is either the default case or the location specified with the relevant option.\n\n## Grouping step definitions​\n\nTechnically it doesn't matter how you name your step definition files, or which step definitions you put in a file.\nYou *could* have one giant file containing all your step definitions. However, as the project grows, the file can become messy and hard to maintain.\nInstead, we recommend creating a separate StepDefinitions.java file for each domain concept.\n\nA good rule of thumb is to have one file for each major domain object.\n\nFor example, in a Curriculum Vitae application, we might have:\n\n- Java\n- Kotlin\n- Ruby\n- JavaScript\n- Go\n\n- `EmployeeStepDefinitions.java`\n- `EducationStepDefinitions.java`\n- `ExperienceStepDefinitions.java`\n- `AuthenticationStepDefinitions.java`\n\n- `EmployeeStepDefinitions.kt`\n- `EducationStepDefinitions.kt`\n- `ExperienceStepDefinitions.kt`\n- `AuthenticationStepDefinitions.kt`\n\n- `employee_steps.rb`\n- `education_steps.rb`\n- `experience_steps.rb`\n- `authentication_steps.rb`\n\n- `employee_steps.js`\n- `education_steps.js`\n- `experience_steps.js`\n- `authentication_steps.js`\n\n- `employee_steps.go`\n- `education_steps.go`\n- `experience_steps.go`\n- `authentication_steps.go`\n\nThe first three files would define all the `Given`, `When`, and `Then` step definitions related to creating, reading, updating, and deleting the various types of objects\nThe last file would define step definitions related to logging in and out, and the different things a certain user is allowed to do in the system.\n\nIf you follow this pattern, you also avoid the\n[Feature-coupled step definitions](/docs/guides/anti-patterns#feature-coupled-step-definitions) anti-pattern.\n\nOf course, how you group your step definitions is really up to you and your team. They should be grouped in a way that\nis meaningful to *your* project.\n\n## Writing step definitions​\n\nDon't write step definitions for steps that are not present in one of your scenarios. These might end up as unused\n[cruft](https://en.wikipedia.org/wiki/Cruft) that will need to be cleaned up later. Only implement step definitions that\nyou actually need. You can always refactor your code as your project grows.\n\n## Avoid duplication​\n\nAvoid writing similar step definitions, as they can lead to clutter. While documenting your steps helps, making use of\nhelper methods to abstract them can do wonders.\n\nFor example, take the following steps:\n\n```\nGiven I go to the home pageGiven I check the about page of the websiteGiven I get the contact details\n```\n\nIf all of these steps open their respective web pages, you might be writing *redundant steps*. While the underlying code\nfor these steps could be different, their **behaviour** is essentially the same, i.e. *to open the Home, About or\nContact page*.\n\nAs such, you can use abstract helper methods to reduce them into a single step:\n\n```\nGiven I go to the {} page\n```\n\nAnd the following step definition:\n\n- Java\n- Kotlin\n- JavaScript\n- Ruby\n- Go\n\n```\n@Given(\"I go to the {string} page\")public void i_want_to_open_page(String webpage) { webpageFactory.openPage(webpage);}\n```\n\n```\n@Given(\"I go to the {string} page\")fun `I want to open page`(webpage: String) { webpageFactory.openPage(webpage)}\n```\n\n```\nGiven(\"I go to the {string} page\", function (webpage) { webpageFactory.openPage(webpage)}\n```\n\n```\nGiven 'I go to the {string} page' do |page| open_web_page pageend\n```\n\n```\ns.Step(`^I go to the \"([^\"]*)\" page$`, goToPage)func goToPage(webpage string) error { return webpageFactory.Open(webpage)}\n```\n\nYour step definitions are the glue to the actual code (in this example, a factory method to decide which page to open).\nThey can also be used to hide implementation details by calling several reusable helper methods from one step\ndefinition.\n\nThis helps in a number of ways:\n\n- Increased maintainability.\n- Increased scalability with reusable steps.\n- More understandable tests.\n\nYou can handle other behaviours, like *validating a web page, clicking a button, etc.*, the same way.\n\nAlso, using [Data Tables](/docs/cucumber/api/#data-tables) for providing inputs to steps helps increase maintainability and understandability.\n\n## Helper methods​\n\nAlways keep in mind that Cucumber is a DSL wrapper around the programming language whose full expressiveness\nremains available to you in the step definition files (*but not in feature files*).\nOn the other hand, do not lose sight that every step called as such in a step definition file is first parsed by\n[Gherkin](/docs/gherkin/) and therefore must conform to the same syntax as used in feature files.\n\nIn fact, it is recommended to refactor step definitions into helper methods for greater modularity and reuse.\nThe method can reside in the same .java file as the step definition.\n\nThis makes your project more understandable for people who join your project at a later date; which also makes your project easier to maintain.", "znaku_textu": 5522, "slov": 811, "odkazu": 30, "kodovani": "utf-8", "kodovani_deklarovane": "utf-8", "format": "html", "duplikat_z": "", "http": 200, "odkud": "live", "wb_ts": "", "stazeno": "2026-09-13 20:21:53", "sha256": "29e9f84ea60fed6c15d8753c974d1cccc0061d69b9a0561392dd082b1788bacb", "hloubka": 1, "zdroj_objevu": "sitemap", "ze_seznamu": false, "mime": "text/html", "odkazy_externi": ["https://github.com/cucumber", "https://en.wikipedia.org/wiki/Cruft", "https://github.com/cucumber/website/blob/main/docs/gherkin/step-organization.mdx"]}