Initial commit.

This commit is contained in:
yan
2011-11-17 15:45:33 -06:00
commit 882015bc6d
1819 changed files with 111625 additions and 0 deletions

View File

@@ -0,0 +1 @@
And

View File

@@ -0,0 +1 @@
As a ${1}

View File

@@ -0,0 +1,2 @@
Background:
${1}

View File

@@ -0,0 +1,2 @@
Examples:

View File

@@ -0,0 +1,2 @@
Feature: ${1:name}
${2}

View File

@@ -0,0 +1,5 @@
Feature: ${1:[feature name eg. "Manage some thing ..."]}
In order to ${2:[goal]}
As a ${3:[stakeholder]}
I want ${4:[behavior]}

View File

@@ -0,0 +1,5 @@
Feature: ${1:[feature name eg. "Manage some thing ..."]}
In order to ${2:[goal]}
As a ${3:[stakeholder]}
I want ${4:[behavior]}

View File

@@ -0,0 +1,2 @@
Given I am on [page_name]

View File

@@ -0,0 +1,3 @@
Given /^ (${1:REGEXP})$/ do |${2}|
${3}
end

View File

@@ -0,0 +1 @@
I want to ${1}

View File

@@ -0,0 +1 @@
Scenario:

View File

@@ -0,0 +1,3 @@
@culerity
Scenario: ${1:Delete customers}
${2:Given the following customers:}

View File

@@ -0,0 +1,3 @@
Scenario: ${1:Register new customers}
${2:Given I am on the new customers page
And I press "Create"}

View File

@@ -0,0 +1 @@
Scenario Outline:

23
vim/snippets/cucumber/steps Executable file
View File

@@ -0,0 +1,23 @@
When I go to [page_name]
When I press "[button]"
When I follow "[link]"
When I fill in "[field]" with "[value]"
When I select "[value]" from "[field]"
When I select "[time]" as the date and time
When I select "[datetime]" as the "[datetime_label]" date and time
When I select "[time]" as the time
When I select "[time]" as the "[time_label]" time
When I select "[date]" as the date
When I select "[date]" as the "[date_label]" date
When I check "[field]"
When I uncheck "[field]"
When I choose "[field]"
When I attach the file at "[path]" to "[field]"
Then I should see "[text]"
Then I should not see "[text]"
Then the "[field]" field should contain "[value]"
Then the "[field]" field should not contain "[value]"
Then the "[label]" checkbox should be checked
Then I should be on [page_name]

View File

@@ -0,0 +1 @@
So that I ${1}

View File

@@ -0,0 +1 @@
Then

View File

@@ -0,0 +1 @@
When