Showing
1 changed file
with
13 additions
and
1 deletions
| 1 | # openprocurement.robottests.buildout | 1 | # openprocurement.robottests.buildout |
| 2 | 2 | ||
| 3 | -[](https://gitter.im/openprocurement/openprocurement.robottests.buildout?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
| 3 | +[](https://gitter.im/openprocurement/openprocurement.robottests.buildout?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
| 4 | + | ||
| 5 | +## Запуск тестів ## | ||
| 6 | +Необхідно запустити: | ||
| 7 | +``` | ||
| 8 | +bin/openprocurement_tests | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +В тестах використовуються користувачі, які описані в https://github.com/openprocurement/robot_tests/blob/master/op_robot_tests/tests_files/data/users.yaml. За замовчуванням тести використовують користувачів з реалізацією запитів в центральну базу за допомогою API клієнта (умовна назва Quinta). Скрипт ```bin/openprocurement_tests``` дає змогу змінити користувача для ролей. | ||
| 12 | +Для прикладу для тесту 'CreateTenderTest' використовуються ролі *tender_owner* та *provider*. В тесті прописано, що роль [*tender_owner* буде виконувати *Tender_Owner*](https://github.com/openprocurement/robot_tests/blob/master/op_robot_tests/tests_files/singleItemTender.robot#L16) з [відповідною реалізацією запитів](https://github.com/openprocurement/robot_tests/blob/master/op_robot_tests/tests_files/data/users.yaml#L4) в центральну базу. | ||
| 13 | +Для запуску тестів де роль *tender_owner* виконує [*Prom_Owner*](https://github.com/openprocurement/robot_tests/blob/master/op_robot_tests/tests_files/data/users.yaml#L7) запускаємо | ||
| 14 | +``` | ||
| 15 | +bin/openprocurement_tests -v tender_owner:Prom_Owner |
Please
register
or
login
to post a comment