Skip to content

Instantly share code, notes, and snippets.

Created November 12, 2015 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6f19448fb18ca8615f96 to your computer and use it in GitHub Desktop.
Save anonymous/6f19448fb18ca8615f96 to your computer and use it in GitHub Desktop.
> cucumber test.feature
Feature: lower case palindromes
This is testing the input of lower case strings
that may be palindromes
Scenario: testing lowercase # test.feature:5
Given I am string hello # test.feature:6
When I input a string # test.feature:7
Then is should not be a palindrome # test.feature:8
1 scenario (1 undefined)
3 steps (3 undefined)
0m0.034s
You can implement step definitions for undefined steps with these snippets:
Given(/^I am string hello$/) do
pending # Write code here that turns the phrase above into concrete actions
end
When(/^I input a string$/) do
pending # Write code here that turns the phrase above into concrete actions
end
Then(/^is should not be a palindrome$/) do
pending # Write code here that turns the phrase above into concrete actions
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment