forked from vanessa-opensource/vanessa-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request vanessa-opensource#158 from pumbaEO/feature/addlan…
…guage Feature/addlanguage
- Loading branch information
Showing
31 changed files
with
791 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# language: ru | ||
|
||
Функционал: Обновление конфигурации базы данных | ||
Как разработчик | ||
Я хочу иметь возможность обновить базу данных | ||
Чтобы отдельно загружать конфигурацию и потом обновлять ее | ||
|
||
Контекст: Подготовка репозитория и рабочего каталога проекта 1С | ||
Допустим я включаю отладку лога с именем "oscript.app.vanessa-runner" | ||
И Я очищаю параметры команды "oscript" в контексте | ||
|
||
Допустим Я создаю временный каталог и сохраняю его в контекст | ||
И Я устанавливаю временный каталог как рабочий каталог | ||
И Я инициализирую репозиторий git в рабочем каталоге | ||
Допустим Я создаю каталог "build/out" в рабочем каталоге | ||
И Я копирую каталог "cf" из каталога "tests/fixtures" проекта в рабочий каталог | ||
|
||
И Я установил рабочий каталог как текущий каталог | ||
|
||
Сценарий: Обновление dev базы по умолчанию в ./build/ibservice | ||
Когда Я сохраняю каталог проекта в контекст | ||
Когда Я выполняю команду "oscript" c параметрами "<КаталогПроекта>/src/main.os init-dev --src ./cf --nocacheuse --dev" | ||
И Я очищаю параметры команды "oscript" в контексте | ||
|
||
Тогда Я выполняю команду "oscript" c параметрами "<КаталогПроекта>/src/main.os updatedb --ibconnection /F./build/ibservice --uccode test" | ||
И Я сообщаю вывод команды "oscript" | ||
Тогда Вывод команды "oscript" содержит "Обновление конфигурации базы данных успешно завершено" | ||
И Код возврата команды "oscript" равен 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.