forked from allure-framework/allure-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathunicode.feature
More file actions
49 lines (42 loc) · 2.13 KB
/
Copy pathunicode.feature
File metadata and controls
49 lines (42 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Feature: Language
Scenario: Use russian
Given feature definition ru
"""
Свойство: Юникод
Структура сценария: Солнечный круг, небо вокруг
Пусть всегда будет <это>
Пусть всегда буду я
Примеры:
| это |
| солнце |
| небо |
| мама |
"""
When I run behave with allure formatter with options "--lang ru"
Then allure report has a scenario with name "Солнечный круг, небо вокруг"
And scenario contains step "Пусть всегда будет солнце"
And scenario contains step "Пусть всегда будет небо"
And scenario contains step "Пусть всегда будет мама"
And scenario contains step "Пусть всегда буду я"
Scenario: Assert message in step
Given feature definition ru
"""
Свойство: Юникод
Сценарий: Ошибка с utf-8 сообщением
Допустим провальный шаг
"""
When I run behave with allure formatter with options "--lang ru"
Then allure report has a scenario with name "Ошибка с utf-8 сообщением"
And scenario contains step "Допустим провальный шаг"
And step has status details with message "AssertionError: Фиаско!"
Scenario: ASCII assert message in step
Given feature definition ru
"""
Свойство: Юникод
Сценарий: Ошибка с utf-8 сообщением
Допустим провальный шаг с ascii
"""
When I run behave with allure formatter with options "--lang ru"
Then allure report has a scenario with name "Ошибка с utf-8 сообщением"
And scenario contains step "Допустим провальный шаг с ascii"
And step has status details with message "AssertionError: Фиаско!"