robot.conf package
Implements settings for both test execution and output processing.
This package implements RobotSettings
and
RebotSettings
classes used internally by
the framework. There should be no need to use these classes externally.
This package can be considered relatively stable. Aforementioned classes are likely to be rewritten at some point to be more convenient to use. Instantiating them is not likely to change, though.
Submodules
robot.conf.gatherfailed module
- class robot.conf.gatherfailed.GatherFailedTests[source]
Bases:
SuiteVisitor
- class robot.conf.gatherfailed.GatherFailedSuites[source]
Bases:
SuiteVisitor
- start_suite(suite)[source]
Called when a suite starts. Default implementation does nothing.
Can return explicit
False
to stop visiting.
robot.conf.languages module
- class robot.conf.languages.Languages(languages: Iterable[Language | str | Path] | Language | str | Path | None = (), add_english: bool = True)[source]
Bases:
object
Stores languages and unifies translations.
Example:
languages = Languages('de', add_english=False) print(languages.settings) languages = Languages(['pt-BR', 'Finnish', 'MyLang.py']) for lang in languages: print(lang.name, lang.code)
- Parameters:
languages – Initial language or list of languages. Languages can be given as language codes or names, paths or names of language modules to load, or as
Language
instances.add_english – If True, English is added automatically.
- Raises:
DataError
if a given language is not found.
add_language()
can be used to add languages after initialization.- property bdd_prefix_regexp
- reset(languages: Iterable[Language | str | Path] = (), add_english: bool = True)[source]
Resets the instance to the given languages.
- add_language(lang: Language | str | Path)[source]
Add new language.
- Parameters:
lang – Language to add. Can be a language code or name, name or path of a language module to load, or a
Language
instance.- Raises:
DataError
if the language is not found.
Language codes and names are passed to by
Language.from_name()
. Language modules are imported andLanguage
subclasses in them loaded.
- class robot.conf.languages.Language[source]
Bases:
object
Base class for language definitions.
New translations can be added by extending this class and setting class attributes listed below.
Language
code
is got based on the class name andname
based on the docstring.- settings_header = None
- variables_header = None
- test_cases_header = None
- tasks_header = None
- keywords_header = None
- comments_header = None
- library_setting = None
- resource_setting = None
- variables_setting = None
- name_setting = None
- documentation_setting = None
- metadata_setting = None
- suite_setup_setting = None
- suite_teardown_setting = None
- test_setup_setting = None
- task_setup_setting = None
- test_teardown_setting = None
- task_teardown_setting = None
- test_template_setting = None
- task_template_setting = None
- test_timeout_setting = None
- task_timeout_setting = None
- test_tags_setting = None
- task_tags_setting = None
- keyword_tags_setting = None
- tags_setting = None
- setup_setting = None
- teardown_setting = None
- template_setting = None
- timeout_setting = None
- arguments_setting = None
- given_prefixes = []
- when_prefixes = []
- then_prefixes = []
- and_prefixes = []
- but_prefixes = []
- true_strings = []
- false_strings = []
- classmethod from_name(name) Language [source]
Return language class based on given name.
Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.
Raises ValueError if no matching language is found.
- property code: str
Language code like ‘fi’ or ‘pt-BR’.
Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.
This special property can be accessed also directly from the class.
- property name: str
Language name like ‘Finnish’ or ‘Brazilian Portuguese’.
Got from the first line of the class docstring.
This special property can be accessed also directly from the class.
- property headers: dict[str | None, str]
- property settings: dict[str | None, str]
- property bdd_prefixes: set[str]
- class robot.conf.languages.En[source]
Bases:
Language
English
- settings_header = 'Settings'
- variables_header = 'Variables'
- test_cases_header = 'Test Cases'
- tasks_header = 'Tasks'
- keywords_header = 'Keywords'
- comments_header = 'Comments'
- library_setting = 'Library'
- resource_setting = 'Resource'
- variables_setting = 'Variables'
- name_setting = 'Name'
- documentation_setting = 'Documentation'
- metadata_setting = 'Metadata'
- suite_setup_setting = 'Suite Setup'
- suite_teardown_setting = 'Suite Teardown'
- test_setup_setting = 'Test Setup'
- task_setup_setting = 'Task Setup'
- test_teardown_setting = 'Test Teardown'
- task_teardown_setting = 'Task Teardown'
- test_template_setting = 'Test Template'
- task_template_setting = 'Task Template'
- test_timeout_setting = 'Test Timeout'
- task_timeout_setting = 'Task Timeout'
- test_tags_setting = 'Test Tags'
- task_tags_setting = 'Task Tags'
- keyword_tags_setting = 'Keyword Tags'
- setup_setting = 'Setup'
- teardown_setting = 'Teardown'
- template_setting = 'Template'
- tags_setting = 'Tags'
- timeout_setting = 'Timeout'
- arguments_setting = 'Arguments'
- given_prefixes = ['Given']
- when_prefixes = ['When']
- then_prefixes = ['Then']
- and_prefixes = ['And']
- but_prefixes = ['But']
- true_strings = ['True', 'Yes', 'On']
- false_strings = ['False', 'No', 'Off']
- class robot.conf.languages.Cs[source]
Bases:
Language
Czech
- settings_header = 'Nastavení'
- variables_header = 'Proměnné'
- test_cases_header = 'Testovací případy'
- tasks_header = 'Úlohy'
- keywords_header = 'Klíčová slova'
- comments_header = 'Komentáře'
- library_setting = 'Knihovna'
- resource_setting = 'Zdroj'
- variables_setting = 'Proměnná'
- name_setting = 'Název'
- documentation_setting = 'Dokumentace'
- metadata_setting = 'Metadata'
- suite_setup_setting = 'Příprava sady'
- suite_teardown_setting = 'Ukončení sady'
- test_setup_setting = 'Příprava testu'
- test_teardown_setting = 'Ukončení testu'
- test_template_setting = 'Šablona testu'
- test_timeout_setting = 'Časový limit testu'
- test_tags_setting = 'Štítky testů'
- task_setup_setting = 'Příprava úlohy'
- task_teardown_setting = 'Ukončení úlohy'
- task_template_setting = 'Šablona úlohy'
- task_timeout_setting = 'Časový limit úlohy'
- task_tags_setting = 'Štítky úloh'
- keyword_tags_setting = 'Štítky klíčových slov'
- tags_setting = 'Štítky'
- setup_setting = 'Příprava'
- teardown_setting = 'Ukončení'
- template_setting = 'Šablona'
- timeout_setting = 'Časový limit'
- arguments_setting = 'Argumenty'
- given_prefixes = ['Pokud']
- when_prefixes = ['Když']
- then_prefixes = ['Pak']
- and_prefixes = ['A']
- but_prefixes = ['Ale']
- true_strings = ['Pravda', 'Ano', 'Zapnuto']
- false_strings = ['Nepravda', 'Ne', 'Vypnuto', 'Nic']
- class robot.conf.languages.Nl[source]
Bases:
Language
Dutch
- settings_header = 'Instellingen'
- variables_header = 'Variabelen'
- test_cases_header = 'Testgevallen'
- tasks_header = 'Taken'
- keywords_header = 'Actiewoorden'
- comments_header = 'Opmerkingen'
- library_setting = 'Bibliotheek'
- resource_setting = 'Resource'
- variables_setting = 'Variabele'
- name_setting = 'Naam'
- documentation_setting = 'Documentatie'
- metadata_setting = 'Metadata'
- suite_setup_setting = 'Suitevoorbereiding'
- suite_teardown_setting = 'Suite-afronding'
- test_setup_setting = 'Testvoorbereiding'
- test_teardown_setting = 'Testafronding'
- test_template_setting = 'Testsjabloon'
- test_timeout_setting = 'Testtijdslimiet'
- test_tags_setting = 'Testlabels'
- task_setup_setting = 'Taakvoorbereiding'
- task_teardown_setting = 'Taakafronding'
- task_template_setting = 'Taaksjabloon'
- task_timeout_setting = 'Taaktijdslimiet'
- task_tags_setting = 'Taaklabels'
- keyword_tags_setting = 'Actiewoordlabels'
- tags_setting = 'Labels'
- setup_setting = 'Voorbereiding'
- teardown_setting = 'Afronding'
- template_setting = 'Sjabloon'
- timeout_setting = 'Tijdslimiet'
- arguments_setting = 'Parameters'
- given_prefixes = ['Stel', 'Gegeven']
- when_prefixes = ['Als']
- then_prefixes = ['Dan']
- and_prefixes = ['En']
- but_prefixes = ['Maar']
- true_strings = ['Waar', 'Ja', 'Aan']
- false_strings = ['Onwaar', 'Nee', 'Uit', 'Geen']
- class robot.conf.languages.Bs[source]
Bases:
Language
Bosnian
- settings_header = 'Postavke'
- variables_header = 'Varijable'
- test_cases_header = 'Test Cases'
- tasks_header = 'Taskovi'
- keywords_header = 'Keywords'
- comments_header = 'Komentari'
- library_setting = 'Biblioteka'
- resource_setting = 'Resursi'
- variables_setting = 'Varijable'
- documentation_setting = 'Dokumentacija'
- metadata_setting = 'Metadata'
- suite_setup_setting = 'Suite Postavke'
- suite_teardown_setting = 'Suite Teardown'
- test_setup_setting = 'Test Postavke'
- test_teardown_setting = 'Test Teardown'
- test_template_setting = 'Test Template'
- test_timeout_setting = 'Test Timeout'
- test_tags_setting = 'Test Tagovi'
- task_setup_setting = 'Task Postavke'
- task_teardown_setting = 'Task Teardown'
- task_template_setting = 'Task Template'
- task_timeout_setting = 'Task Timeout'
- task_tags_setting = 'Task Tagovi'
- keyword_tags_setting = 'Keyword Tagovi'
- tags_setting = 'Tagovi'
- setup_setting = 'Postavke'
- teardown_setting = 'Teardown'
- template_setting = 'Template'
- timeout_setting = 'Timeout'
- arguments_setting = 'Argumenti'
- given_prefixes = ['Uslovno']
- when_prefixes = ['Kada']
- then_prefixes = ['Tada']
- and_prefixes = ['I']
- but_prefixes = ['Ali']
- class robot.conf.languages.Fi[source]
Bases:
Language
Finnish
- settings_header = 'Asetukset'
- variables_header = 'Muuttujat'
- test_cases_header = 'Testit'
- tasks_header = 'Tehtävät'
- keywords_header = 'Avainsanat'
- comments_header = 'Kommentit'
- library_setting = 'Kirjasto'
- resource_setting = 'Resurssi'
- variables_setting = 'Muuttujat'
- documentation_setting = 'Dokumentaatio'
- metadata_setting = 'Metatiedot'
- name_setting = 'Nimi'
- suite_setup_setting = 'Setin Alustus'
- suite_teardown_setting = 'Setin Alasajo'
- test_setup_setting = 'Testin Alustus'
- task_setup_setting = 'Tehtävän Alustus'
- test_teardown_setting = 'Testin Alasajo'
- task_teardown_setting = 'Tehtävän Alasajo'
- test_template_setting = 'Testin Malli'
- task_template_setting = 'Tehtävän Malli'
- test_timeout_setting = 'Testin Aikaraja'
- task_timeout_setting = 'Tehtävän Aikaraja'
- test_tags_setting = 'Testin Tagit'
- task_tags_setting = 'Tehtävän Tagit'
- keyword_tags_setting = 'Avainsanan Tagit'
- tags_setting = 'Tagit'
- setup_setting = 'Alustus'
- teardown_setting = 'Alasajo'
- template_setting = 'Malli'
- timeout_setting = 'Aikaraja'
- arguments_setting = 'Argumentit'
- given_prefixes = ['Oletetaan']
- when_prefixes = ['Kun']
- then_prefixes = ['Niin']
- and_prefixes = ['Ja']
- but_prefixes = ['Mutta']
- true_strings = ['Tosi', 'Kyllä', 'Päällä']
- false_strings = ['Epätosi', 'Ei', 'Pois']
- class robot.conf.languages.Fr[source]
Bases:
Language
French
- settings_header = 'Paramètres'
- variables_header = 'Variables'
- test_cases_header = 'Unités de test'
- tasks_header = 'Tâches'
- keywords_header = 'Mots-clés'
- comments_header = 'Commentaires'
- library_setting = 'Bibliothèque'
- resource_setting = 'Ressource'
- variables_setting = 'Variable'
- name_setting = 'Nom'
- documentation_setting = 'Documentation'
- metadata_setting = 'Méta-donnée'
- suite_setup_setting = 'Mise en place de suite'
- suite_teardown_setting = 'Démontage de suite'
- test_setup_setting = 'Mise en place de test'
- test_teardown_setting = 'Démontage de test'
- test_template_setting = 'Modèle de test'
- test_timeout_setting = 'Délai de test'
- test_tags_setting = 'Étiquette de test'
- task_setup_setting = 'Mise en place de tâche'
- task_teardown_setting = 'Démontage de test'
- task_template_setting = 'Modèle de tâche'
- task_timeout_setting = 'Délai de tâche'
- task_tags_setting = 'Étiquette de tâche'
- keyword_tags_setting = 'Etiquette de mot-clé'
- tags_setting = 'Étiquette'
- setup_setting = 'Mise en place'
- teardown_setting = 'Démontage'
- template_setting = 'Modèle'
- timeout_setting = "Délai d'attente"
- arguments_setting = 'Arguments'
- given_prefixes = ['Étant donné']
- when_prefixes = ['Lorsque']
- then_prefixes = ['Alors']
- and_prefixes = ['Et']
- but_prefixes = ['Mais']
- true_strings = ['Vrai', 'Oui', 'Actif']
- false_strings = ['Faux', 'Non', 'Désactivé', 'Aucun']
- class robot.conf.languages.De[source]
Bases:
Language
German
- settings_header = 'Einstellungen'
- variables_header = 'Variablen'
- test_cases_header = 'Testfälle'
- tasks_header = 'Aufgaben'
- keywords_header = 'Schlüsselwörter'
- comments_header = 'Kommentare'
- library_setting = 'Bibliothek'
- resource_setting = 'Ressource'
- variables_setting = 'Variablen'
- name_setting = 'Name'
- documentation_setting = 'Dokumentation'
- metadata_setting = 'Metadaten'
- suite_setup_setting = 'Suitevorbereitung'
- suite_teardown_setting = 'Suitenachbereitung'
- test_setup_setting = 'Testvorbereitung'
- test_teardown_setting = 'Testnachbereitung'
- test_template_setting = 'Testvorlage'
- test_timeout_setting = 'Testzeitlimit'
- test_tags_setting = 'Testmarker'
- task_setup_setting = 'Aufgabenvorbereitung'
- task_teardown_setting = 'Aufgabennachbereitung'
- task_template_setting = 'Aufgabenvorlage'
- task_timeout_setting = 'Aufgabenzeitlimit'
- task_tags_setting = 'Aufgabenmarker'
- keyword_tags_setting = 'Schlüsselwortmarker'
- tags_setting = 'Marker'
- setup_setting = 'Vorbereitung'
- teardown_setting = 'Nachbereitung'
- template_setting = 'Vorlage'
- timeout_setting = 'Zeitlimit'
- arguments_setting = 'Argumente'
- given_prefixes = ['Angenommen']
- when_prefixes = ['Wenn']
- then_prefixes = ['Dann']
- and_prefixes = ['Und']
- but_prefixes = ['Aber']
- true_strings = ['Wahr', 'Ja', 'An', 'Ein']
- false_strings = ['Falsch', 'Nein', 'Aus', 'Unwahr']
- class robot.conf.languages.PtBr[source]
Bases:
Language
Brazilian Portuguese
- settings_header = 'Configurações'
- variables_header = 'Variáveis'
- test_cases_header = 'Casos de Teste'
- tasks_header = 'Tarefas'
- keywords_header = 'Palavras-Chave'
- comments_header = 'Comentários'
- library_setting = 'Biblioteca'
- resource_setting = 'Recurso'
- variables_setting = 'Variável'
- name_setting = 'Nome'
- documentation_setting = 'Documentação'
- metadata_setting = 'Metadados'
- suite_setup_setting = 'Configuração da Suíte'
- suite_teardown_setting = 'Finalização de Suíte'
- test_setup_setting = 'Inicialização de Teste'
- test_teardown_setting = 'Finalização de Teste'
- test_template_setting = 'Modelo de Teste'
- test_timeout_setting = 'Tempo Limite de Teste'
- test_tags_setting = 'Test Tags'
- task_setup_setting = 'Inicialização de Tarefa'
- task_teardown_setting = 'Finalização de Tarefa'
- task_template_setting = 'Modelo de Tarefa'
- task_timeout_setting = 'Tempo Limite de Tarefa'
- task_tags_setting = 'Task Tags'
- keyword_tags_setting = 'Keyword Tags'
- tags_setting = 'Etiquetas'
- setup_setting = 'Inicialização'
- teardown_setting = 'Finalização'
- template_setting = 'Modelo'
- timeout_setting = 'Tempo Limite'
- arguments_setting = 'Argumentos'
- given_prefixes = ['Dado']
- when_prefixes = ['Quando']
- then_prefixes = ['Então']
- and_prefixes = ['E']
- but_prefixes = ['Mas']
- true_strings = ['Verdadeiro', 'Verdade', 'Sim', 'Ligado']
- false_strings = ['Falso', 'Não', 'Desligado', 'Desativado', 'Nada']
- class robot.conf.languages.Pt[source]
Bases:
Language
Portuguese
- settings_header = 'Definições'
- variables_header = 'Variáveis'
- test_cases_header = 'Casos de Teste'
- tasks_header = 'Tarefas'
- keywords_header = 'Palavras-Chave'
- comments_header = 'Comentários'
- library_setting = 'Biblioteca'
- resource_setting = 'Recurso'
- variables_setting = 'Variável'
- name_setting = 'Nome'
- documentation_setting = 'Documentação'
- metadata_setting = 'Metadados'
- suite_setup_setting = 'Inicialização de Suíte'
- suite_teardown_setting = 'Finalização de Suíte'
- test_setup_setting = 'Inicialização de Teste'
- test_teardown_setting = 'Finalização de Teste'
- test_template_setting = 'Modelo de Teste'
- test_timeout_setting = 'Tempo Limite de Teste'
- test_tags_setting = 'Etiquetas de Testes'
- task_setup_setting = 'Inicialização de Tarefa'
- task_teardown_setting = 'Finalização de Tarefa'
- task_template_setting = 'Modelo de Tarefa'
- task_timeout_setting = 'Tempo Limite de Tarefa'
- task_tags_setting = 'Etiquetas de Tarefas'
- keyword_tags_setting = 'Etiquetas de Palavras-Chave'
- tags_setting = 'Etiquetas'
- setup_setting = 'Inicialização'
- teardown_setting = 'Finalização'
- template_setting = 'Modelo'
- timeout_setting = 'Tempo Limite'
- arguments_setting = 'Argumentos'
- given_prefixes = ['Dado']
- when_prefixes = ['Quando']
- then_prefixes = ['Então']
- and_prefixes = ['E']
- but_prefixes = ['Mas']
- true_strings = ['Verdadeiro', 'Verdade', 'Sim', 'Ligado']
- false_strings = ['Falso', 'Não', 'Desligado', 'Desativado', 'Nada']
- class robot.conf.languages.Th[source]
Bases:
Language
Thai
- settings_header = 'การตั้งค่า'
- variables_header = 'กำหนดตัวแปร'
- test_cases_header = 'การทดสอบ'
- tasks_header = 'งาน'
- keywords_header = 'คำสั่งเพิ่มเติม'
- comments_header = 'คำอธิบาย'
- library_setting = 'ชุดคำสั่งที่ใช้'
- resource_setting = 'ไฟล์ที่ใช้'
- variables_setting = 'ชุดตัวแปร'
- documentation_setting = 'เอกสาร'
- metadata_setting = 'รายละเอียดเพิ่มเติม'
- suite_setup_setting = 'กำหนดค่าเริ่มต้นของชุดการทดสอบ'
- suite_teardown_setting = 'คืนค่าของชุดการทดสอบ'
- test_setup_setting = 'กำหนดค่าเริ่มต้นของการทดสอบ'
- task_setup_setting = 'กำหนดค่าเริ่มต้นของงาน'
- test_teardown_setting = 'คืนค่าของการทดสอบ'
- task_teardown_setting = 'คืนค่าของงาน'
- test_template_setting = 'โครงสร้างของการทดสอบ'
- task_template_setting = 'โครงสร้างของงาน'
- test_timeout_setting = 'เวลารอของการทดสอบ'
- task_timeout_setting = 'เวลารอของงาน'
- test_tags_setting = 'กลุ่มของการทดสอบ'
- task_tags_setting = 'กลุ่มของงาน'
- keyword_tags_setting = 'กลุ่มของคำสั่งเพิ่มเติม'
- setup_setting = 'กำหนดค่าเริ่มต้น'
- teardown_setting = 'คืนค่า'
- template_setting = 'โครงสร้าง'
- tags_setting = 'กลุ่ม'
- timeout_setting = 'หมดเวลา'
- arguments_setting = 'ค่าที่ส่งเข้ามา'
- given_prefixes = ['กำหนดให้']
- when_prefixes = ['เมื่อ']
- then_prefixes = ['ดังนั้น']
- and_prefixes = ['และ']
- but_prefixes = ['แต่']
- class robot.conf.languages.Pl[source]
Bases:
Language
Polish
- settings_header = 'Ustawienia'
- variables_header = 'Zmienne'
- test_cases_header = 'Przypadki Testowe'
- tasks_header = 'Zadania'
- keywords_header = 'Słowa Kluczowe'
- comments_header = 'Komentarze'
- library_setting = 'Biblioteka'
- resource_setting = 'Zasób'
- variables_setting = 'Zmienne'
- name_setting = 'Nazwa'
- documentation_setting = 'Dokumentacja'
- metadata_setting = 'Metadane'
- suite_setup_setting = 'Inicjalizacja Zestawu'
- suite_teardown_setting = 'Ukończenie Zestawu'
- test_setup_setting = 'Inicjalizacja Testu'
- test_teardown_setting = 'Ukończenie Testu'
- test_template_setting = 'Szablon Testu'
- test_timeout_setting = 'Limit Czasowy Testu'
- test_tags_setting = 'Znaczniki Testu'
- task_setup_setting = 'Inicjalizacja Zadania'
- task_teardown_setting = 'Ukończenie Zadania'
- task_template_setting = 'Szablon Zadania'
- task_timeout_setting = 'Limit Czasowy Zadania'
- task_tags_setting = 'Znaczniki Zadania'
- keyword_tags_setting = 'Znaczniki Słowa Kluczowego'
- tags_setting = 'Znaczniki'
- setup_setting = 'Inicjalizacja'
- teardown_setting = 'Ukończenie'
- template_setting = 'Szablon'
- timeout_setting = 'Limit Czasowy'
- arguments_setting = 'Argumenty'
- given_prefixes = ['Zakładając', 'Zakładając, że', 'Mając']
- when_prefixes = ['Jeżeli', 'Jeśli', 'Gdy', 'Kiedy']
- then_prefixes = ['Wtedy']
- and_prefixes = ['Oraz', 'I']
- but_prefixes = ['Ale']
- true_strings = ['Prawda', 'Tak', 'Włączone']
- false_strings = ['Fałsz', 'Nie', 'Wyłączone', 'Nic']
- class robot.conf.languages.Uk[source]
Bases:
Language
Ukrainian
- settings_header = 'Налаштування'
- variables_header = 'Змінні'
- test_cases_header = 'Тест-кейси'
- tasks_header = 'Завдань'
- keywords_header = 'Ключових слова'
- comments_header = 'Коментарів'
- library_setting = 'Бібліотека'
- resource_setting = 'Ресурс'
- variables_setting = 'Змінна'
- documentation_setting = 'Документація'
- metadata_setting = 'Метадані'
- suite_setup_setting = 'Налаштування Suite'
- suite_teardown_setting = 'Розбірка Suite'
- test_setup_setting = 'Налаштування тесту'
- test_teardown_setting = 'Розбирання тестy'
- test_template_setting = 'Тестовий шаблон'
- test_timeout_setting = 'Час тестування'
- test_tags_setting = 'Тестові теги'
- task_setup_setting = 'Налаштування завдання'
- task_teardown_setting = 'Розбір завдання'
- task_template_setting = 'Шаблон завдання'
- task_timeout_setting = 'Час очікування завдання'
- task_tags_setting = 'Теги завдань'
- keyword_tags_setting = 'Теги ключових слів'
- tags_setting = 'Теги'
- setup_setting = 'Встановлення'
- teardown_setting = 'Cпростовувати пункт за пунктом'
- template_setting = 'Шаблон'
- timeout_setting = 'Час вийшов'
- arguments_setting = 'Аргументи'
- given_prefixes = ['Дано']
- when_prefixes = ['Коли']
- then_prefixes = ['Тоді']
- and_prefixes = ['Та']
- but_prefixes = ['Але']
- class robot.conf.languages.Es[source]
Bases:
Language
Spanish
- settings_header = 'Configuraciones'
- variables_header = 'Variables'
- test_cases_header = 'Casos de prueba'
- tasks_header = 'Tareas'
- keywords_header = 'Palabras clave'
- comments_header = 'Comentarios'
- library_setting = 'Biblioteca'
- resource_setting = 'Recursos'
- variables_setting = 'Variable'
- name_setting = 'Nombre'
- documentation_setting = 'Documentación'
- metadata_setting = 'Metadatos'
- suite_setup_setting = 'Configuración de la Suite'
- suite_teardown_setting = 'Desmontaje de la Suite'
- test_setup_setting = 'Configuración de prueba'
- test_teardown_setting = 'Desmontaje de la prueba'
- test_template_setting = 'Plantilla de prueba'
- test_timeout_setting = 'Tiempo de espera de la prueba'
- test_tags_setting = 'Etiquetas de la prueba'
- task_setup_setting = 'Configuración de tarea'
- task_teardown_setting = 'Desmontaje de tareas'
- task_template_setting = 'Plantilla de tareas'
- task_timeout_setting = 'Tiempo de espera de las tareas'
- task_tags_setting = 'Etiquetas de las tareas'
- keyword_tags_setting = 'Etiquetas de palabras clave'
- tags_setting = 'Etiquetas'
- setup_setting = 'Configuración'
- teardown_setting = 'Desmontaje'
- template_setting = 'Plantilla'
- timeout_setting = 'Tiempo agotado'
- arguments_setting = 'Argumentos'
- given_prefixes = ['Dado']
- when_prefixes = ['Cuando']
- then_prefixes = ['Entonces']
- and_prefixes = ['Y']
- but_prefixes = ['Pero']
- true_strings = ['Verdadero', 'Si', 'On']
- false_strings = ['Falso', 'No', 'Off', 'Ninguno']
- class robot.conf.languages.Ru[source]
Bases:
Language
Russian
- settings_header = 'Настройки'
- variables_header = 'Переменные'
- test_cases_header = 'Заголовки тестов'
- tasks_header = 'Задача'
- keywords_header = 'Ключевые слова'
- comments_header = 'Комментарии'
- library_setting = 'Библиотека'
- resource_setting = 'Ресурс'
- variables_setting = 'Переменные'
- documentation_setting = 'Документация'
- metadata_setting = 'Метаданные'
- suite_setup_setting = 'Инициализация комплекта тестов'
- suite_teardown_setting = 'Завершение комплекта тестов'
- test_setup_setting = 'Инициализация теста'
- test_teardown_setting = 'Завершение теста'
- test_template_setting = 'Шаблон теста'
- test_timeout_setting = 'Лимит выполнения теста'
- test_tags_setting = 'Теги тестов'
- task_setup_setting = 'Инициализация задания'
- task_teardown_setting = 'Завершение задания'
- task_template_setting = 'Шаблон задания'
- task_timeout_setting = 'Лимит задания'
- task_tags_setting = 'Метки заданий'
- keyword_tags_setting = 'Метки ключевых слов'
- tags_setting = 'Метки'
- setup_setting = 'Инициализация'
- teardown_setting = 'Завершение'
- template_setting = 'Шаблон'
- timeout_setting = 'Лимит'
- arguments_setting = 'Аргументы'
- given_prefixes = ['Дано']
- when_prefixes = ['Когда']
- then_prefixes = ['Тогда']
- and_prefixes = ['И']
- but_prefixes = ['Но']
- class robot.conf.languages.ZhCn[source]
Bases:
Language
Chinese Simplified
- settings_header = '设置'
- variables_header = '变量'
- test_cases_header = '用例'
- tasks_header = '任务'
- keywords_header = '关键字'
- comments_header = '备注'
- library_setting = '程序库'
- resource_setting = '资源文件'
- variables_setting = '变量文件'
- documentation_setting = '说明'
- metadata_setting = '元数据'
- suite_setup_setting = '用例集启程'
- suite_teardown_setting = '用例集终程'
- test_setup_setting = '用例启程'
- test_teardown_setting = '用例终程'
- test_template_setting = '用例模板'
- test_timeout_setting = '用例超时'
- test_tags_setting = '用例标签'
- task_setup_setting = '任务启程'
- task_teardown_setting = '任务终程'
- task_template_setting = '任务模板'
- task_timeout_setting = '任务超时'
- task_tags_setting = '任务标签'
- keyword_tags_setting = '关键字标签'
- tags_setting = '标签'
- setup_setting = '启程'
- teardown_setting = '终程'
- template_setting = '模板'
- timeout_setting = '超时'
- arguments_setting = '参数'
- given_prefixes = ['假定']
- when_prefixes = ['当']
- then_prefixes = ['那么']
- and_prefixes = ['并且']
- but_prefixes = ['但是']
- true_strings = ['真', '是', '开']
- false_strings = ['假', '否', '关', '空']
- class robot.conf.languages.ZhTw[source]
Bases:
Language
Chinese Traditional
- settings_header = '設置'
- variables_header = '變量'
- test_cases_header = '案例'
- tasks_header = '任務'
- keywords_header = '關鍵字'
- comments_header = '備註'
- library_setting = '函式庫'
- resource_setting = '資源文件'
- variables_setting = '變量文件'
- documentation_setting = '說明'
- metadata_setting = '元數據'
- suite_setup_setting = '測試套啟程'
- suite_teardown_setting = '測試套終程'
- test_setup_setting = '測試啟程'
- test_teardown_setting = '測試終程'
- test_template_setting = '測試模板'
- test_timeout_setting = '測試逾時'
- test_tags_setting = '測試標籤'
- task_setup_setting = '任務啟程'
- task_teardown_setting = '任務終程'
- task_template_setting = '任務模板'
- task_timeout_setting = '任務逾時'
- task_tags_setting = '任務標籤'
- keyword_tags_setting = '關鍵字標籤'
- tags_setting = '標籤'
- setup_setting = '啟程'
- teardown_setting = '終程'
- template_setting = '模板'
- timeout_setting = '逾時'
- arguments_setting = '参数'
- given_prefixes = ['假定']
- when_prefixes = ['當']
- then_prefixes = ['那麼']
- and_prefixes = ['並且']
- but_prefixes = ['但是']
- true_strings = ['真', '是', '開']
- false_strings = ['假', '否', '關', '空']
- class robot.conf.languages.Tr[source]
Bases:
Language
Turkish
- settings_header = 'Ayarlar'
- variables_header = 'Değişkenler'
- test_cases_header = 'Test Durumları'
- tasks_header = 'Görevler'
- keywords_header = 'Anahtar Kelimeler'
- comments_header = 'Yorumlar'
- library_setting = 'Kütüphane'
- resource_setting = 'Kaynak'
- variables_setting = 'Değişkenler'
- documentation_setting = 'Dokümantasyon'
- metadata_setting = 'Üstveri'
- suite_setup_setting = 'Takım Kurulumu'
- suite_teardown_setting = 'Takım Bitişi'
- test_setup_setting = 'Test Kurulumu'
- task_setup_setting = 'Görev Kurulumu'
- test_teardown_setting = 'Test Bitişi'
- task_teardown_setting = 'Görev Bitişi'
- test_template_setting = 'Test Taslağı'
- task_template_setting = 'Görev Taslağı'
- test_timeout_setting = 'Test Zaman Aşımı'
- task_timeout_setting = 'Görev Zaman Aşımı'
- test_tags_setting = 'Test Etiketleri'
- task_tags_setting = 'Görev Etiketleri'
- keyword_tags_setting = 'Anahtar Kelime Etiketleri'
- setup_setting = 'Kurulum'
- teardown_setting = 'Bitiş'
- template_setting = 'Taslak'
- tags_setting = 'Etiketler'
- timeout_setting = 'Zaman Aşımı'
- arguments_setting = 'Argümanlar'
- given_prefixes = ['Diyelim ki']
- when_prefixes = ['Eğer ki']
- then_prefixes = ['O zaman']
- and_prefixes = ['Ve']
- but_prefixes = ['Ancak']
- true_strings = ['Doğru', 'Evet', 'Açik']
- false_strings = ['Yanliş', 'Hayir', 'Kapali']
- class robot.conf.languages.Sv[source]
Bases:
Language
Swedish
- settings_header = 'Inställningar'
- variables_header = 'Variabler'
- test_cases_header = 'Testfall'
- tasks_header = 'Taskar'
- keywords_header = 'Nyckelord'
- comments_header = 'Kommentarer'
- library_setting = 'Bibliotek'
- resource_setting = 'Resurs'
- variables_setting = 'Variabel'
- name_setting = 'Namn'
- documentation_setting = 'Dokumentation'
- metadata_setting = 'Metadata'
- suite_setup_setting = 'Svit konfigurering'
- suite_teardown_setting = 'Svit nedrivning'
- test_setup_setting = 'Test konfigurering'
- test_teardown_setting = 'Test nedrivning'
- test_template_setting = 'Test mall'
- test_timeout_setting = 'Test timeout'
- test_tags_setting = 'Test taggar'
- task_setup_setting = 'Task konfigurering'
- task_teardown_setting = 'Task nedrivning'
- task_template_setting = 'Task mall'
- task_timeout_setting = 'Task timeout'
- task_tags_setting = 'Arbetsuppgift taggar'
- keyword_tags_setting = 'Nyckelord taggar'
- tags_setting = 'Taggar'
- setup_setting = 'Konfigurering'
- teardown_setting = 'Nedrivning'
- template_setting = 'Mall'
- timeout_setting = 'Timeout'
- arguments_setting = 'Argument'
- given_prefixes = ['Givet']
- when_prefixes = ['När']
- then_prefixes = ['Då']
- and_prefixes = ['Och']
- but_prefixes = ['Men']
- true_strings = ['Sant', 'Ja', 'På']
- false_strings = ['Falskt', 'Nej', 'Av', 'Ingen']
- class robot.conf.languages.Bg[source]
Bases:
Language
Bulgarian
- settings_header = 'Настройки'
- variables_header = 'Променливи'
- test_cases_header = 'Тестови случаи'
- tasks_header = 'Задачи'
- keywords_header = 'Ключови думи'
- comments_header = 'Коментари'
- library_setting = 'Библиотека'
- resource_setting = 'Ресурс'
- variables_setting = 'Променлива'
- documentation_setting = 'Документация'
- metadata_setting = 'Метаданни'
- suite_setup_setting = 'Първоначални настройки на комплекта'
- suite_teardown_setting = 'Приключване на комплекта'
- test_setup_setting = 'Първоначални настройки на тестове'
- test_teardown_setting = 'Приключване на тестове'
- test_template_setting = 'Шаблон за тестове'
- test_timeout_setting = 'Таймаут за тестове'
- test_tags_setting = 'Етикети за тестове'
- task_setup_setting = 'Първоначални настройки на задачи'
- task_teardown_setting = 'Приключване на задачи'
- task_template_setting = 'Шаблон за задачи'
- task_timeout_setting = 'Таймаут за задачи'
- task_tags_setting = 'Етикети за задачи'
- keyword_tags_setting = 'Етикети за ключови думи'
- tags_setting = 'Етикети'
- setup_setting = 'Първоначални настройки'
- teardown_setting = 'Приключване'
- template_setting = 'Шаблон'
- timeout_setting = 'Таймаут'
- arguments_setting = 'Аргументи'
- given_prefixes = ['В случай че']
- when_prefixes = ['Когато']
- then_prefixes = ['Тогава']
- and_prefixes = ['И']
- but_prefixes = ['Но']
- true_strings = ['Вярно', 'Да', 'Включен']
- false_strings = ['Невярно', 'Не', 'Изключен', 'Нищо']
- class robot.conf.languages.Ro[source]
Bases:
Language
Romanian
- settings_header = 'Setari'
- variables_header = 'Variabile'
- test_cases_header = 'Cazuri De Test'
- tasks_header = 'Sarcini'
- keywords_header = 'Cuvinte Cheie'
- comments_header = 'Comentarii'
- library_setting = 'Librarie'
- resource_setting = 'Resursa'
- variables_setting = 'Variabila'
- name_setting = 'Nume'
- documentation_setting = 'Documentatie'
- metadata_setting = 'Metadate'
- suite_setup_setting = 'Configurare De Suita'
- suite_teardown_setting = 'Configurare De Intrerupere'
- test_setup_setting = 'Setare De Test'
- test_teardown_setting = 'Inrerupere De Test'
- test_template_setting = 'Sablon De Test'
- test_timeout_setting = 'Timp Expirare Test'
- test_tags_setting = 'Taguri De Test'
- task_setup_setting = 'Configuarare activitate'
- task_teardown_setting = 'Intrerupere activitate'
- task_template_setting = 'Sablon de activitate'
- task_timeout_setting = 'Timp de expirare activitate'
- task_tags_setting = 'Etichete activitate'
- keyword_tags_setting = 'Etichete metode'
- tags_setting = 'Etichete'
- setup_setting = 'Setare'
- teardown_setting = 'Intrerupere'
- template_setting = 'Sablon'
- timeout_setting = 'Expirare'
- arguments_setting = 'Argumente'
- given_prefixes = ['Fie ca']
- when_prefixes = ['Cand']
- then_prefixes = ['Atunci']
- and_prefixes = ['Si']
- but_prefixes = ['Dar']
- true_strings = ['Adevarat', 'Da', 'Cand']
- false_strings = ['Fals', 'Nu', 'Oprit', 'Niciun']
- class robot.conf.languages.It[source]
Bases:
Language
Italian
- settings_header = 'Impostazioni'
- variables_header = 'Variabili'
- test_cases_header = 'Casi Di Test'
- tasks_header = 'Attività'
- keywords_header = 'Parole Chiave'
- comments_header = 'Commenti'
- library_setting = 'Libreria'
- resource_setting = 'Risorsa'
- variables_setting = 'Variabile'
- name_setting = 'Nome'
- documentation_setting = 'Documentazione'
- metadata_setting = 'Metadati'
- suite_setup_setting = 'Configurazione Suite'
- suite_teardown_setting = 'Distruzione Suite'
- test_setup_setting = 'Configurazione Test'
- test_teardown_setting = 'Distruzione Test'
- test_template_setting = 'Modello Test'
- test_timeout_setting = 'Timeout Test'
- test_tags_setting = 'Tag Del Test'
- task_setup_setting = 'Configurazione Attività'
- task_teardown_setting = 'Distruzione Attività'
- task_template_setting = 'Modello Attività'
- task_timeout_setting = 'Timeout Attività'
- task_tags_setting = 'Tag Attività'
- keyword_tags_setting = 'Tag Parola Chiave'
- tags_setting = 'Tag'
- setup_setting = 'Configurazione'
- teardown_setting = 'Distruzione'
- template_setting = 'Template'
- timeout_setting = 'Timeout'
- arguments_setting = 'Parametri'
- given_prefixes = ['Dato']
- when_prefixes = ['Quando']
- then_prefixes = ['Allora']
- and_prefixes = ['E']
- but_prefixes = ['Ma']
- true_strings = ['Vero', 'Sì', 'On']
- false_strings = ['Falso', 'No', 'Off', 'Nessuno']
- class robot.conf.languages.Hi[source]
Bases:
Language
Hindi
- settings_header = 'स्थापना'
- variables_header = 'चर'
- test_cases_header = 'नियत कार्य प्रवेशिका'
- tasks_header = 'कार्य प्रवेशिका'
- keywords_header = 'कुंजीशब्द'
- comments_header = 'टिप्पणी'
- library_setting = 'कोड़ प्रतिबिंब संग्रह'
- resource_setting = 'संसाधन'
- variables_setting = 'चर'
- documentation_setting = 'प्रलेखन'
- metadata_setting = 'अधि-आंकड़ा'
- suite_setup_setting = 'जांच की शुरुवात'
- suite_teardown_setting = 'परीक्षण कार्य अंत'
- test_setup_setting = 'परीक्षण कार्य प्रारंभ'
- test_teardown_setting = 'परीक्षण कार्य अंत'
- test_template_setting = 'परीक्षण ढांचा'
- test_timeout_setting = 'परीक्षण कार्य समय समाप्त'
- test_tags_setting = 'जाँचका उपनाम'
- task_setup_setting = 'परीक्षण कार्य प्रारंभ'
- task_teardown_setting = 'परीक्षण कार्य अंत'
- task_template_setting = 'परीक्षण ढांचा'
- task_timeout_setting = 'कार्य समयबाह्य'
- task_tags_setting = 'कार्यका उपनाम'
- keyword_tags_setting = 'कुंजीशब्द का उपनाम'
- tags_setting = 'निशान'
- setup_setting = 'व्यवस्थापना'
- teardown_setting = 'विमोचन'
- template_setting = 'साँचा'
- timeout_setting = 'समय समाप्त'
- arguments_setting = 'प्राचल'
- given_prefixes = ['दिया हुआ']
- when_prefixes = ['जब']
- then_prefixes = ['तब']
- and_prefixes = ['और']
- but_prefixes = ['परंतु']
- true_strings = ['यथार्थ', 'निश्चित', 'हां', 'पर']
- false_strings = ['गलत', 'नहीं', 'हालाँकि', 'यद्यपि', 'नहीं', 'हैं']
- class robot.conf.languages.Vi[source]
Bases:
Language
Vietnamese
New in Robot Framework 6.1.
- settings_header = 'Cài Đặt'
- variables_header = 'Các biến số'
- test_cases_header = 'Các kịch bản kiểm thử'
- tasks_header = 'Các nghiệm vụ'
- keywords_header = 'Các từ khóa'
- comments_header = 'Các chú thích'
- library_setting = 'Thư viện'
- resource_setting = 'Tài nguyên'
- variables_setting = 'Biến số'
- name_setting = 'Tên'
- documentation_setting = 'Tài liệu hướng dẫn'
- metadata_setting = 'Dữ liệu tham chiếu'
- suite_setup_setting = 'Tiền thiết lập bộ kịch bản kiểm thử'
- suite_teardown_setting = 'Hậu thiết lập bộ kịch bản kiểm thử'
- test_setup_setting = 'Tiền thiết lập kịch bản kiểm thử'
- test_teardown_setting = 'Hậu thiết lập kịch bản kiểm thử'
- test_template_setting = 'Mẫu kịch bản kiểm thử'
- test_timeout_setting = 'Thời gian chờ kịch bản kiểm thử'
- test_tags_setting = 'Các nhãn kịch bản kiểm thử'
- task_setup_setting = 'Tiền thiểt lập nhiệm vụ'
- task_teardown_setting = 'Hậu thiết lập nhiệm vụ'
- task_template_setting = 'Mẫu nhiễm vụ'
- task_timeout_setting = 'Thời gian chờ nhiệm vụ'
- task_tags_setting = 'Các nhãn nhiệm vụ'
- keyword_tags_setting = 'Các từ khóa nhãn'
- tags_setting = 'Các thẻ'
- setup_setting = 'Tiền thiết lập'
- teardown_setting = 'Hậu thiết lập'
- template_setting = 'Mẫu'
- timeout_setting = 'Thời gian chờ'
- arguments_setting = 'Các đối số'
- given_prefixes = ['Đã cho']
- when_prefixes = ['Khi']
- then_prefixes = ['Thì']
- and_prefixes = ['Và']
- but_prefixes = ['Nhưng']
- true_strings = ['Đúng', 'Vâng', 'Mở']
- false_strings = ['Sai', 'Không', 'Tắt', 'Không Có Gì']
- class robot.conf.languages.Ja[source]
Bases:
Language
Japanese
New in Robot Framework 7.0.1.
- settings_header = '設定'
- variables_header = '変数'
- test_cases_header = 'テスト ケース'
- tasks_header = 'タスク'
- keywords_header = 'キーワード'
- comments_header = 'コメント'
- library_setting = 'ライブラリ'
- resource_setting = 'リソース'
- variables_setting = '変数'
- name_setting = '名前'
- documentation_setting = 'ドキュメント'
- metadata_setting = 'メタデータ'
- suite_setup_setting = 'スイート セットアップ'
- suite_teardown_setting = 'スイート ティアダウン'
- test_setup_setting = 'テスト セットアップ'
- task_setup_setting = 'タスク セットアップ'
- test_teardown_setting = 'テスト ティアダウン'
- task_teardown_setting = 'タスク ティアダウン'
- test_template_setting = 'テスト テンプレート'
- task_template_setting = 'タスク テンプレート'
- test_timeout_setting = 'テスト タイムアウト'
- task_timeout_setting = 'タスク タイムアウト'
- test_tags_setting = 'テスト タグ'
- task_tags_setting = 'タスク タグ'
- keyword_tags_setting = 'キーワード タグ'
- setup_setting = 'セットアップ'
- teardown_setting = 'ティアダウン'
- template_setting = 'テンプレート'
- tags_setting = 'タグ'
- timeout_setting = 'タイムアウト'
- arguments_setting = '引数'
- given_prefixes = ['仮定', '指定', '前提条件']
- when_prefixes = ['条件', '次の場合', 'もし', '実行条件']
- then_prefixes = ['アクション', 'その時', '動作']
- and_prefixes = ['および', '及び', 'かつ', '且つ', 'ならびに', '並びに', 'そして', 'それから']
- but_prefixes = ['ただし', '但し']
- true_strings = ['真', '有効', 'はい', 'オン']
- false_strings = ['偽', '無効', 'いいえ', 'オフ']
- class robot.conf.languages.Ko[source]
Bases:
Language
Korean
New in Robot Framework 7.1.
- settings_header = '설정'
- variables_header = '변수'
- test_cases_header = '테스트 사례'
- tasks_header = '작업'
- keywords_header = '키워드'
- comments_header = '의견'
- library_setting = '라이브러리'
- resource_setting = '자료'
- variables_setting = '변수'
- name_setting = '이름'
- documentation_setting = '문서'
- metadata_setting = '메타데이터'
- suite_setup_setting = '스위트 설정'
- suite_teardown_setting = '스위트 중단'
- test_setup_setting = '테스트 설정'
- task_setup_setting = '작업 설정'
- test_teardown_setting = '테스트 중단'
- task_teardown_setting = '작업 중단'
- test_template_setting = '테스트 템플릿'
- task_template_setting = '작업 템플릿'
- test_timeout_setting = '테스트 시간 초과'
- task_timeout_setting = '작업 시간 초과'
- test_tags_setting = '테스트 태그'
- task_tags_setting = '작업 태그'
- keyword_tags_setting = '키워드 태그'
- setup_setting = '설정'
- teardown_setting = '중단'
- template_setting = '템플릿'
- tags_setting = '태그'
- timeout_setting = '시간 초과'
- arguments_setting = '주장'
- given_prefixes = ['주어진']
- when_prefixes = ['때']
- then_prefixes = ['보다']
- and_prefixes = ['그리고']
- but_prefixes = ['하지만']
- true_strings = ['참', '네', '켜기']
- false_strings = ['거짓', '아니오', '끄기']
robot.conf.settings module
- class robot.conf.settings.RobotSettings(options=None, **extra_options)[source]
Bases:
_BaseSettings
- property listeners
- property debug_file
- property languages
- property suite_config
- property suite_names
- property test_names
- property randomize_seed
- property randomize_suites
- property randomize_tests
- property dry_run
- property exit_on_failure
- property exit_on_error
- property skip
- property skipped_tags
- property skip_on_failure
- property skip_teardown_on_exit
- property console_output_config
- property console_type
- property console_width
- property console_markers
- property max_error_lines
- property max_assign_length
- property parsers
- property pre_run_modifiers
- property run_empty_suite
- property variables
- property variable_files
- property extension