Skip to content

Instantly share code, notes, and snippets.

@johnivanoff
Created January 29, 2012 18:04
Show Gist options
  • Save johnivanoff/1699888 to your computer and use it in GitHub Desktop.
Save johnivanoff/1699888 to your computer and use it in GitHub Desktop.
$ 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/step_definitions/location_steps.rb:22
And I fill in "Name" with "Shiny location" # features/step_definitions/location_steps.rb:26
TODO (Cucumber::Pending)
./features/step_definitions/location_steps.rb:27:in `/^I fill in "([^"]*)" with "([^"]*)"$/'
features/manage_locations.feature:21:in `And I fill in "Name" with "Shiny location"'
When I press "Create" # features/step_definitions/location_steps.rb:30
Then I should see "Shiny location" # features/step_definitions/location_steps.rb:9
1 scenario (1 pending)
4 steps (2 skipped, 1 pending, 1 passed)
0m0.662s
The --wip switch was used, so the failures were expected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment