stories.txt

Path: examples/stories/game-of-life/behaviour/stories/stories.txt
Last Update: Fri Feb 12 12:44:30 +0000 2021

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");

[Validate]