Path: | examples/stories/game-of-life/behaviour/stories/stories.txt |
Last Update: | Tue Dec 09 06:36:55 -0800 2014 |
Story: Show the game field
As a game player I want to see the field so that I can observe the progress of the organisms
Scenario: an empty field
Given a new game starts When the game displays the field Then the field should be empty
StoryBuilder story = stories.createStory().called("a story")
.asA("person") .iWant("to do something") .soThat("I can rule the world");
story.addScenario().called("happy path").as()
.given("some context") .when("some event happens") .then("expect some outcome");