Package | Description |
---|---|
org.jbehave.core.embedder | |
org.jbehave.core.model | |
org.jbehave.core.parsers | |
org.jbehave.core.reporters | |
org.jbehave.core.steps |
Modifier and Type | Method and Description |
---|---|
Story |
StoryManager.ThrowableStory.getStory() |
Story |
StoryManager.RunningStory.getStory() |
Story |
StoryRunner.storyOfPath(Configuration configuration,
java.lang.String storyPath)
Returns the parsed story from the given path
|
Story |
StoryManager.storyOfPath(java.lang.String storyPath) |
Story |
StoryRunner.storyOfText(Configuration configuration,
java.lang.String storyAsText,
java.lang.String storyId)
Returns the parsed story from the given text
|
Story |
StoryManager.storyOfText(java.lang.String storyAsText,
java.lang.String storyId) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Story> |
StoryManager.notAllowedBy(MetaFilter filter) |
Modifier and Type | Method and Description |
---|---|
void |
StoryRunner.cancelStory(Story story,
StoryDuration storyDuration)
Cancels story execution following a timeout
|
void |
StoryMapper.map(Story story,
MetaFilter metaFilter)
Maps a story if it is allowed by the meta filter
|
void |
StoryRunner.run(Configuration configuration,
InjectableStepsFactory stepsFactory,
Story story,
MetaFilter filter,
StoryRunner.State beforeStories)
Runs a Story with the given steps factory, applying the given meta
filter, and staring from given state.
|
void |
StoryRunner.run(Configuration configuration,
java.util.List<CandidateSteps> candidateSteps,
Story story)
Runs a Story with the given configuration and steps.
|
void |
StoryRunner.run(Configuration configuration,
java.util.List<CandidateSteps> candidateSteps,
Story story,
MetaFilter filter)
Runs a Story with the given configuration and steps, applying the given
meta filter.
|
void |
StoryRunner.run(Configuration configuration,
java.util.List<CandidateSteps> candidateSteps,
Story story,
MetaFilter filter,
StoryRunner.State beforeStories)
Runs a Story with the given configuration and steps, applying the given
meta filter, and staring from given state.
|
StoryManager.RunningStory |
StoryManager.runningStory(java.lang.String storyPath,
Story story,
MetaFilter filter,
StoryRunner.State beforeStories) |
void |
PrintStreamEmbedderMonitor.storyTimeout(Story story,
StoryDuration storyDuration) |
void |
NullEmbedderMonitor.storyTimeout(Story story,
StoryDuration storyDuration) |
void |
EmbedderMonitorDecorator.storyTimeout(Story story,
StoryDuration storyDuration) |
void |
EmbedderMonitor.storyTimeout(Story story,
StoryDuration storyDuration) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,StoryManager.RunningStory> |
StoryManager.runningStories(java.util.List<Story> stories,
MetaFilter filter,
StoryRunner.State beforeStories) |
void |
NullEmbedderMonitor.storiesNotAllowed(java.util.List<Story> notAllowed,
MetaFilter filter) |
void |
EmbedderMonitorDecorator.storiesNotAllowed(java.util.List<Story> notAllowed,
MetaFilter filter) |
void |
EmbedderMonitor.storiesNotAllowed(java.util.List<Story> notAllowed,
MetaFilter filter)
Deprecated.
Use #storiesNotAllowed(List
|
void |
PrintStreamEmbedderMonitor.storiesNotAllowed(java.util.List<Story> stories,
MetaFilter filter,
boolean verbose) |
void |
NullEmbedderMonitor.storiesNotAllowed(java.util.List<Story> notAllowed,
MetaFilter filter,
boolean verbose) |
void |
EmbedderMonitorDecorator.storiesNotAllowed(java.util.List<Story> stories,
MetaFilter filter,
boolean verbose) |
void |
EmbedderMonitor.storiesNotAllowed(java.util.List<Story> notAllowed,
MetaFilter filter,
boolean verbose) |
Constructor and Description |
---|
FilteredStory(MetaFilter filter,
Story story,
StoryControls storyControls) |
FilteredStory(MetaFilter filter,
Story story,
StoryControls storyControls,
boolean givenStory) |
StoryManager.RunningStory(Story story,
java.util.concurrent.Future<StoryManager.ThrowableStory> future) |
StoryManager.ThrowableStory(Story story,
java.lang.Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Story> |
StoryMap.getStories() |
java.util.List<Story> |
StoryLanes.getStories() |
Modifier and Type | Method and Description |
---|---|
boolean |
StoryLanes.inLane(java.lang.String lane,
Story story) |
Constructor and Description |
---|
StoryMap(java.lang.String metaFilter,
java.util.Set<Story> stories) |
Modifier and Type | Method and Description |
---|---|
Story |
TransformingStoryParser.parseStory(java.lang.String storyAsText) |
Story |
StoryParser.parseStory(java.lang.String storyAsText)
Parses story from its textual representation
|
Story |
RegexStoryParser.parseStory(java.lang.String storyAsText) |
Story |
TransformingStoryParser.parseStory(java.lang.String storyAsText,
java.lang.String storyPath) |
Story |
StoryParser.parseStory(java.lang.String storyAsText,
java.lang.String storyPath)
Parses story from its textual representation and (optional) story path
|
Story |
RegexStoryParser.parseStory(java.lang.String storyAsText,
java.lang.String storyPath) |
Modifier and Type | Method and Description |
---|---|
void |
TemplateableOutput.beforeStory(Story story,
boolean givenStory) |
void |
StoryReporter.beforeStory(Story story,
boolean givenStory) |
void |
StepFailureDecorator.beforeStory(Story story,
boolean givenStory) |
void |
SilentSuccessFilter.beforeStory(Story story,
boolean givenStory) |
void |
PrintStreamOutput.beforeStory(Story story,
boolean givenStory) |
void |
PostStoryStatisticsCollector.beforeStory(Story story,
boolean givenStory) |
void |
NullStoryReporter.beforeStory(Story story,
boolean givenStory) |
void |
DelegatingStoryReporter.beforeStory(Story story,
boolean givenStory) |
void |
ContextStoryReporter.beforeStory(Story story,
boolean givenStory) |
void |
ConcurrentStoryReporter.beforeStory(Story story,
boolean givenStory) |
protected CrossReference.XRefStory |
CrossReference.XRefRoot.createXRefStory(StoryReporterBuilder storyReporterBuilder,
Story story,
boolean passed,
boolean pending)
Override this is you want to add fields to the JSON.
|
protected CrossReference.XRefStory |
CrossReference.XRefRoot.createXRefStory(StoryReporterBuilder storyReporterBuilder,
Story story,
boolean passed,
boolean pending,
CrossReference.XRefRoot root)
Ensure that XRefStory is instantiated completely, before secondary
methods are invoked (or overridden)
|
protected java.lang.Long |
CrossReference.XRefRoot.getTime(java.util.Map<java.lang.String,java.lang.Long> times,
Story story) |
protected boolean |
CrossReference.XRefRoot.someScenarios(Story story,
java.util.Set<java.lang.String> stepsPerformed) |
void |
TemplateableOutput.storyCancelled(Story story,
StoryDuration storyDuration) |
void |
StoryReporter.storyCancelled(Story story,
StoryDuration storyDuration) |
void |
StepFailureDecorator.storyCancelled(Story story,
StoryDuration storyDuration) |
void |
SilentSuccessFilter.storyCancelled(Story story,
StoryDuration storyDuration) |
void |
PrintStreamOutput.storyCancelled(Story story,
StoryDuration storyDuration) |
void |
PostStoryStatisticsCollector.storyCancelled(Story story,
StoryDuration storyDuration) |
void |
NullStoryReporter.storyCancelled(Story story,
StoryDuration storyDuration) |
void |
DelegatingStoryReporter.storyCancelled(Story story,
StoryDuration storyDuration) |
void |
ConcurrentStoryReporter.storyCancelled(Story story,
StoryDuration storyDuration) |
void |
TemplateableOutput.storyNotAllowed(Story story,
java.lang.String filter) |
void |
StoryReporter.storyNotAllowed(Story story,
java.lang.String filter) |
void |
StepFailureDecorator.storyNotAllowed(Story story,
java.lang.String filter) |
void |
SilentSuccessFilter.storyNotAllowed(Story story,
java.lang.String filter) |
void |
PrintStreamOutput.storyNotAllowed(Story story,
java.lang.String filter) |
void |
PostStoryStatisticsCollector.storyNotAllowed(Story story,
java.lang.String filter) |
void |
NullStoryReporter.storyNotAllowed(Story story,
java.lang.String filter) |
void |
DelegatingStoryReporter.storyNotAllowed(Story story,
java.lang.String filter) |
void |
ConcurrentStoryReporter.storyNotAllowed(Story story,
java.lang.String filter) |
Constructor and Description |
---|
CrossReference.XRefStory(Story story,
StoryReporterBuilder storyReporterBuilder,
boolean passed,
boolean pending) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Step> |
StepCollector.collectBeforeOrAfterStorySteps(java.util.List<CandidateSteps> candidateSteps,
Story story,
StepCollector.Stage stage,
boolean givenStory)
Collects all of the
BeforeStory or AfterStory steps to execute. |
java.util.List<Step> |
MarkUnmatchedStepsAsPending.collectBeforeOrAfterStorySteps(java.util.List<CandidateSteps> candidateSteps,
Story story,
StepCollector.Stage stage,
boolean givenStory) |
Copyright © 2003-2014. All Rights Reserved.