Skip to content

Instantly share code, notes, and snippets.

@maggandalf
Created April 20, 2011 17:00
Show Gist options
  • Save maggandalf/931924 to your computer and use it in GitHub Desktop.
Save maggandalf/931924 to your computer and use it in GitHub Desktop.
JBehave Story file.
Scenario: trader should be not alerted below threshold and should be alerted above threshold
Given a stock of symbol <symbol> and a threshold of <threshold>
When the stock is traded at <price>
Then the alert status should be <status>
Examples:
|symbol|threshold|price|status|
|STK1|5|4|OFF|
|STK1|5|14|ON|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment