Skip to content

Instantly share code, notes, and snippets.

@artbear
Created March 12, 2020 12:48
Show Gist options
  • Save artbear/b3c6df00f930f268fcf16f7c1e9670e1 to your computer and use it in GitHub Desktop.
Save artbear/b3c6df00f930f268fcf16f7c1e9670e1 to your computer and use it in GitHub Desktop.
Шаблон базовой фичи BDD - Vanessa-ADD
{
// Place your snippets for feature here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
"Шаблон базовой фичи": {
"prefix": "Шаблон базовой фичи",
"body": [
"# language: ru",
"@tree",
"@IgnoreOnCIMainBuild",
"",
"Функционал: $1",
"",
"\tКак Роль",
"\tЯ хочу ...",
"\tЧтобы ...",
"",
"Контекст:",
"\tДано Я запускаю сценарий открытия TestClient или подключаю уже существующий",
"",
"Сценарий: $2",
"",
"\tДано подготавливаю $3",
"\tКогда выполняю $4",
"\tТогда проверяю $5",
]
// ,
// "description": "Шаблон базовой фичи"
},
"Шаблон сценария": {
"prefix": "Шаблон сценария",
"body": [
"Сценарий: $1",
"",
"\tДано подготавливаю $2",
"\tКогда выполняю $3",
"\tТогда проверяю $4",
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment