Tags в Robot Framework

Содержание
Введение
Пример
Похожие статьи

Введение

Тэги нужны для того чтобы можно было запускать только определённую часть тестов.

Простейший пример: критические тесты выполняются каждый день, менее важные имеют свой тэг и выполняются раз в неделю.

Пример

Рассмотрим тест в файле system.robot

Обратите внимание, между Tags и названием тэга два пробела

Something Critical Is Tested [Tags] critical Do Something Something Else Is Tested [Tags] weekly Do Something Else

Чтобы выполнить только тесты с тэгом critical

robot --include critical system.robot

Banner image

Article author: Andrei Olegovich

Похожие статьи
Robot Framework
Basics
RFBrowser
Set Variable
if else: conditionals
in: check if smth belongs to list
Loops
Change Variable Value
New Line
[Tags]
Collections: lists, dicts
JSON
Pass Argument to a Keyword
Evaluate
Robot in PyCharm

Search this site

Subscribe to Telegram channel @aofeed to follow new articles and updates to old ones

Go to channel

@aofeed

Ask a question in the Telegram group

@aofeedchat

Contacts and cooperation:
I recommend our hosting beget.ru
Write to info@urn.su, info@aredel.com if you:
1. Want to write an article for our site or translate an article into your native language.
2. Want to place thematically relevant ads on the site.
3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail
4. Found a mistake, inaccuracy, bug, etc. on the site. ... .......
5. Articles can be shared on social media by clicking a network icon: