Skip to content

Instantly share code, notes, and snippets.

@jbpros
Created April 16, 2013 13:17
Show Gist options
  • Save jbpros/5395790 to your computer and use it in GitHub Desktop.
Save jbpros/5395790 to your computer and use it in GitHub Desktop.
Feature:
Scenario: miss
Given my opponent has no ships on a specific position
When I shoot a torpedo at that position
Then I missed
Scenario: hit
Given my opponent has some ship on a specific position
When I shoot a torpedo at that position
Then I hit
Scenario: sink
Given my opponent has some ship on a specific position
And I hit all parts of that ship but the one on that position
When I shoot a torpedo at that position
Then that ship is sunk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment