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.
- Loading branch information
Showing
44 changed files
with
663 additions
and
302 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ ConfigDumpInfo.xml | |
.vscode/launch.json | ||
tools/oscript.cfg | ||
src/oscript.cfg | ||
.scannerwork/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# language: ru | ||
|
||
Функционал: Проверка запуска и работы xunit-тестов через Ванесса-АДД | ||
Как Разработчик/Инженер по тестированию | ||
Я Хочу иметь возможность автоматической проверки запуска тестов через Ванесса-АДД | ||
Чтобы удостовериться в качестве подготовленной конфигурации | ||
|
||
Контекст: | ||
Допустим я подготовил репозиторий и рабочий каталог проекта | ||
И я подготовил рабочую базу проекта "./build/ib" по умолчанию | ||
|
||
И Я копирую каталог "xdd_test" из каталога "tests/fixtures" проекта в подкаталог "build" рабочего каталога | ||
И Я очищаю параметры команды "oscript" в контексте | ||
Когда Я выполняю команду "oscript" с параметрами "<КаталогПроекта>/src/main.os compileepf build/xdd_test build/xdd_test.epf" | ||
И Я очищаю параметры команды "oscript" в контексте | ||
|
||
И Я копирую каталог "feature" из каталога "tests/fixtures" проекта в подкаталог "build" рабочего каталога | ||
|
||
Сценарий: Запуск тестирования xunit | ||
|
||
Когда Я добавляю параметр "<КаталогПроекта>/src/main.os xunit" для команды "oscript" | ||
И Я добавляю параметр "build/xdd_test.epf" для команды "oscript" | ||
И Я добавляю параметр "--ibconnection /Fbuild/ib" для команды "oscript" | ||
И Я добавляю параметр "--workspace ./build" для команды "oscript" | ||
Когда Я выполняю команду "oscript" | ||
Тогда Вывод команды "oscript" содержит | ||
| Выполняю тесты с помощью фреймворка Vanessa-ADD (Vanessa Automation Driven Development) | | ||
| Выполнение тестов завершено | | ||
|
||
И Код возврата команды "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.