-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexamples.feature
58 lines (48 loc) · 1.95 KB
/
examples.feature
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
50
51
52
53
54
55
56
57
58
# EN translation
Feature: SublimeText2 Behat Features Syntax
In order to use this plugin
As a SublimeText2 and Behat user
I need to see what the syntax highlight looks like
@outline @placeholders @other_tag
Scenario Outline: Eating
Given there are <start> cucumbers
When I eat <eat> cucumbers
Then I should have <left> cucumbers
Examples:
| start | eat | left |
| 12 | 5 | 7 |
| 20 | 5 | 15 |
Scenario:
Given a blog post named "Random" with:
"""
Some Title, Eh?
===============
Here is the first paragraph of my blog post.
Lorem ipsum dolor sit amet, consectetur adipiscing
elit.
"""
# This is a comment line
# This is another comment line
Background:
Given a global administrator named "Greg"
And a blog named "Greg's anti-tax rants"
And a customer named "Wilson"
And a blog named "Expensive Therapy" owned by "Wilson"
Scenario: Wilson posts to his own blog
Given I am logged in as Wilson
When I try to post to "Expensive Therapy"
Then I should see "Your article was published."
# RU translation
Функционал: Подсветка фич Behat в Sublime Text 2/3
Для того, чтобы использовать этот плагин
Будучи пользователем Sublime Text 2/3 и Behat
Я должен убедиться в том, как именно подсвечивается синтаксис
Предыстория:
Дано Суперадминистратор по имени "Greg"
И блог называющийся "Greg's anti-tax rants"
Также Пользователь по имени "Wilson"
И блог называющийся "Expensive Therapy" принадлежащий "Wilson"
Сценарий: Питание
Пусть есть <start> огурцов
Когда я съем <eat> огурцов
То останется <left> огурцов