Package org.jbehave.core.story.domain

Examples of org.jbehave.core.story.domain.Narrative


* @author <a href="mailto:dan.north@thoughtworks.com">Dan North </a>
*/
public class UserWithdrawsCash extends ScenarioDrivenStory {

    public UserWithdrawsCash() {
        super(new Narrative(
            "Bank card holder",
            "to be able to withdraw cash from an ATM",
            "I don't have to visit the bank"
        ));
    }
View Full Code Here



public class ThePlayerInteractsWithTheGlyph extends ScenarioDrivenStory {

    public ThePlayerInteractsWithTheGlyph() {
        super(new Narrative("game player", "to move the shape", "I can make space for the next glyph"));
    }
View Full Code Here

import com.sirenian.hellbound.stories.util.HellboundStoryBase;

public class ThePlayerLosesTheGame extends HellboundStoryBase{
   
    public ThePlayerLosesTheGame() {
        super(new Narrative("game player", "to lose the game", "the game is a challenge"));
    }
View Full Code Here

import com.sirenian.hellbound.stories.util.HellboundStoryBase;

public class TheGlyphIsConstrainedByThePit extends HellboundStoryBase {

    public TheGlyphIsConstrainedByThePit() {
        super(new Narrative("game player", "the glyph to be constrained by the pit", "the game has boundaries"));
    }
View Full Code Here


public class ThePlayerDropsTheGlyph extends ScenarioDrivenStory {

  public ThePlayerDropsTheGlyph() {
    super(new Narrative("game player", "to drop the glyph", " I can save time"));
  }
View Full Code Here

public class ThePlayerMakesALine extends HellboundStoryBase {
   
   
    public ThePlayerMakesALine() {
        super(new Narrative("game player", "lines to disappear when I complete them", "I can progress the game"));
    }
View Full Code Here

import com.sirenian.hellbound.stories.util.HellboundStoryBase;

public class TheGlyphMovesAsTimePasses extends HellboundStoryBase {

  public TheGlyphMovesAsTimePasses() {
    super(new Narrative("game player", "the glyph to move downwards as time passes", "the game is a challenge"));
  }
View Full Code Here

import org.jbehave.core.story.domain.ScenarioDrivenStory;

public class FailingStoryClass extends ScenarioDrivenStory {

    public FailingStoryClass() {
        super(new Narrative("", "", ""));
    }
View Full Code Here

    private boolean wasNarrated;

    public void addListener(BehaviourListener listener) {}

    public Narrative narrative() {
        return new Narrative("", "", "");
    }
View Full Code Here

    private boolean wasNarrated;

    public void addListener(BehaviourListener listener) {}

    public Narrative narrative() {
        return new Narrative("", "", "");
    }
View Full Code Here

TOP

Related Classes of org.jbehave.core.story.domain.Narrative

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.