Created
February 28, 2010 15:23
-
-
Save svenfuchs/317630 to your computer and use it in GitHub Desktop.
Steam Demo App Cucumber Output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steam-demo $ cucumber features/*.feature | |
Feature: Managing lists | |
In order to have a better overview of my tasks | |
As a control freak | |
I want to arrange my tasks in lists | |
Background: # features/managing_lists.feature:6 | |
Given the following tasks: # features/step_definitions/task_steps.rb:1 | |
| name | list | | |
| Mow the lawn | Garden | | |
| Sweep porch | Garden | | |
| Buy milk | Household | | |
| Do laundry | Household | | |
Scenario: Adding a new list # features/managing_lists.feature:14 | |
Given I am on the task list page # features/step_definitions/webrat_steps.rb:1 | |
When I click the link to add a new list # features/step_definitions/list_steps.rb:30 | |
And I fill in "Work" as the new list's name # features/step_definitions/list_steps.rb:1 | |
And I click somewhere else on the page # features/step_definitions/task_steps.rb:25 | |
Then there should be a list named "Work" # features/step_definitions/list_steps.rb:39 | |
Scenario: Renaming a list # features/managing_lists.feature:21 | |
Given I am on the task list page # features/step_definitions/webrat_steps.rb:1 | |
When I click on "Household" # features/step_definitions/webrat_steps.rb:15 | |
And I fill in "House" as the list's name # features/step_definitions/list_steps.rb:5 | |
And I click somewhere else on the page # features/step_definitions/task_steps.rb:25 | |
Then there should be a list named "House" # features/step_definitions/list_steps.rb:39 | |
Then there should not be a list named "Household" # features/step_definitions/list_steps.rb:45 | |
Scenario: Reordering lists # features/managing_lists.feature:29 | |
Given I am on the task list page # features/step_definitions/webrat_steps.rb:1 | |
When I drag the list "Household" above "Garden" # features/step_definitions/list_steps.rb:9 | |
Then the list "Household" should be above "Garden" # features/step_definitions/list_steps.rb:34 | |
Scenario: Deleting a list # features/managing_lists.feature:35 | |
Given I am on the task list page # features/step_definitions/webrat_steps.rb:1 | |
When I hover the list "Household" # features/step_definitions/list_steps.rb:20 | |
And I click on the button to delete the list "Household" # features/step_definitions/list_steps.rb:25 | |
Then there should not be a list named "Household" # features/step_definitions/list_steps.rb:45 | |
And there should not be a task named "Buy milk" # features/step_definitions/task_steps.rb:82 | |
And there should not be a task named "Do laundry" # features/step_definitions/task_steps.rb:82 | |
Feature: Managing tasks | |
In order to be more organized | |
As a control freak | |
I want to manage my tasks | |
Background: # features/managing_tasks.feature:6 | |
Given the following tasks: # features/step_definitions/task_steps.rb:1 | |
| name | list | | |
| Mow the lawn | Garden | | |
| Sweep porch | Garden | | |
| Buy milk | Household | | |
| Do laundry | Household | | |
Scenario: Adding a new task # features/managing_tasks.feature:14 | |
Given I am on the task list page # features/step_definitions/webrat_steps.rb:1 | |
When I click the link to add a new task to the list "Household" # features/step_definitions/task_steps.rb:12 | |
And I fill in "Wash dishes" as the new task's name # features/step_definitions/task_steps.rb:17 | |
And I click somewhere else on the page # features/step_definitions/task_steps.rb:25 | |
Then there should be a task named "Wash dishes" in the list "Household" # features/step_definitions/task_steps.rb:64 | |
Scenario: Renaming an task # features/managing_tasks.feature:21 | |
Given I am on the task list page # features/step_definitions/webrat_steps.rb:1 | |
When I click on "Do laundry" # features/step_definitions/webrat_steps.rb:15 | |
And I fill in "Do the laundry" as the task's name # features/step_definitions/task_steps.rb:21 | |
And I click somewhere else on the page # features/step_definitions/task_steps.rb:25 | |
Then there should be a task named "Do the laundry" # features/step_definitions/task_steps.rb:77 | |
Then there should not be a task named "Do laundry" # features/step_definitions/task_steps.rb:82 | |
Scenario: Reordering tasks # features/managing_tasks.feature:29 | |
Given I am on the task list page # features/step_definitions/webrat_steps.rb:1 | |
When I drag the task "Do laundry" above "Buy milk" # features/step_definitions/task_steps.rb:29 | |
Then the task "Do laundry" should be above "Buy milk" # features/step_definitions/task_steps.rb:72 | |
Scenario: Deleting a task # features/managing_tasks.feature:34 | |
Given I am on the task list page # features/step_definitions/webrat_steps.rb:1 | |
When I hover the task "Sweep porch" # features/step_definitions/task_steps.rb:49 | |
And I click on the button to delete the task "Sweep porch" # features/step_definitions/task_steps.rb:54 | |
Then there should not be a task named "Sweep porch" # features/step_definitions/task_steps.rb:82 | |
Scenario: Moving a task to another list # features/managing_tasks.feature:40 | |
Given I am on the task list page # features/step_definitions/webrat_steps.rb:1 | |
When I drag the task "Sweep porch" to the list "Household" # features/step_definitions/task_steps.rb:40 | |
Then there should be a task named "Sweep porch" in the list "Household" # features/step_definitions/task_steps.rb:64 | |
Scenario: Marking a task as done # features/managing_tasks.feature:45 | |
Given I am on the task list page # features/step_definitions/webrat_steps.rb:1 | |
When I check the task "Mow the lawn" # features/step_definitions/task_steps.rb:59 | |
Then the task "Mow the lawn" should be marked as done # features/step_definitions/task_steps.rb:87 | |
Scenario: Marking a task as open # features/managing_tasks.feature:50 | |
Given the task "Mow the lawn" is marked as done # features/step_definitions/task_steps.rb:8 | |
And I am on the task list page # features/step_definitions/webrat_steps.rb:1 | |
When I uncheck the task "Mow the lawn" # features/step_definitions/task_steps.rb:59 | |
Then the task "Mow the lawn" should be marked as open # features/step_definitions/task_steps.rb:87 | |
11 scenarios (11 passed) | |
59 steps (59 passed) | |
0m19.178s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment