Created
January 29, 2012 17:57
-
-
Save johnivanoff/1699852 to your computer and use it in GitHub Desktop.
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
$ cucumber --profile wip | |
Using the wip profile... | |
Feature: Manage locations | |
In order to manage locations | |
As a user | |
I want to create and edit my locations. | |
@wip | |
Scenario: Create a new location # features/manage_locations.feature:19 | |
Given I am on new location page # features/manage_locations.feature:20 | |
And I fill in "Name" with "Shiny location" # features/manage_locations.feature:21 | |
When I press "Create" # features/manage_locations.feature:22 | |
Then I should see "Shiny location" # features/step_definitions/location_steps.rb:9 | |
1 scenario (1 undefined) | |
4 steps (1 skipped, 3 undefined) | |
0m0.465s | |
You can implement step definitions for undefined steps with these snippets: | |
Given /^I am on new location page$/ do | |
pending # express the regexp above with the code you wish you had | |
end | |
Given /^I fill in "([^"]*)" with "([^"]*)"$/ do |arg1, arg2| | |
pending # express the regexp above with the code you wish you had | |
end | |
When /^I press "([^"]*)"$/ do |arg1| | |
pending # express the regexp above with the code you wish you had | |
end | |
The --wip switch was used, so the failures are expected. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment