Package org.jbehave.core.steps

Interface Summary
CandidateSteps Interface providing the list of candidate steps, representing methods annotated with @Given, @When or @Then, that can be matched.
InjectableStepsFactory Interface abstracting the creation of CandidateSteps.
ParameterConverters.ParameterConverter  
PrioritisingStrategy Defines the priorising strategy pf candidate steps
Step A Step represents a runnable portion of a Scenario, which matches methods annotated in CandidateSteps instances.
StepCollector Represents the strategy for the collection of executable Steps from a given story or scenario matching a list of CandidateSteps.
StepCreator.StepRunner  
StepMonitor Interface to monitor step events
StepResult  
 

Class Summary
AbstractStepResult Represents the possible step results: Failed NotPerformed Pending Successful Ignorable
AbstractStepResult.Failed  
AbstractStepResult.Ignorable  
AbstractStepResult.NotPerformed  
AbstractStepResult.Pending  
AbstractStepResult.SkippedStepResult  
AbstractStepResult.Successful  
AbstractStepsFactory An abstract implementation of InjectableStepsFactory that is provided by concrete subclasses Object instances which contain the candidate steps methods.
BeforeOrAfterStep A BeforeOrAfterStep is associated to a Java method annotated with BeforeStory, AfterStory, BeforeScenario or AfterScenario in a CandidatesSteps instance class.
CandidateStep A CandidateStep is associated to a Java method annotated with Given, When, Then in a CandidatesSteps instance class.
InstanceStepsFactory An InjectableStepsFactory that is provided Object instances.
MarkUnmatchedStepsAsPending StepCollector that marks unmatched steps as AbstractStepResult.Pending.
ParameterConverters Facade responsible for converting parameter values to Java objects.
ParameterConverters.DateConverter Parses value to a Date using an injectable DateFormat (defaults to new SimpleDateFormat("dd/MM/yyyy"))
ParameterConverters.ExamplesTableConverter  
ParameterConverters.MethodReturningConverter  
ParameterConverters.NumberConverter Converts values to numbers.
ParameterConverters.NumberListConverter Converts value to list of numbers.
ParameterConverters.StringListConverter Converts value to list of String.
PrintStreamStepMonitor StepMonitor that prints to a PrintStream, defaulting to System.out.
SilentStepMonitor StepMonitor that prints nothings.
StepCreator  
StepCreator.Jsr330Helper This is a different class, because the @Inject jar may not be in the classpath.
Stepdoc A Stepdoc represents the documentation on a single candidate step, which includes: the step type/li> the pattern to match the candidate step that is configured in the annotation the method in the steps instance class the steps instance class
StepFinder Finds candidate steps matching a textual step from a list of CandidateSteps instances.
StepFinder.ByLevenshteinDistance Strategy to priorise candidate steps by Levenshtein Distance.
StepFinder.ByPriorityField Strategy to priorise candidate steps by the CandidateStep.getPriority() field which is settable in the Given, When, Then annotations.
Steps Implementation of CandidateSteps which provides access to the candidate steps that match the story you want to run.
 

Enum Summary
StepCollector.Stage  
StepType Enum representing the step types
 

Exception Summary
CandidateStep.StartingWordNotFound  
ParameterConverters.ParameterConvertionFailed  
StepCreator.ParameterNotFound  
Steps.DuplicateCandidateStepFoundException  
 



Copyright © 2003-2010. All Rights Reserved.