Package org.jbehave.core.steps

Interface Summary
CandidateSteps Interface providing the list of step candidates, representing methods annotated with @Given, @When or @Then that can be matched.
InjectableStepsFactory Interface abstracting the creation of CandidateSteps.
ParameterConverters.ParameterConverter  
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  
StepFinder.PrioritisingStrategy Defines the priorising strategy of step candidates
StepMonitor Interface to monitor step events
StepResult  
 

Class Summary
AbstractStepResult Represents the possible step results: Failed NotPerformed Pending Successful Ignorable Skipped
AbstractStepResult.Failed  
AbstractStepResult.Ignorable  
AbstractStepResult.NotPerformed  
AbstractStepResult.Pending  
AbstractStepResult.Skipped  
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.
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 Converts value to ExamplesTable
ParameterConverters.MethodReturningConverter Invokes method on instance to return value.
ParameterConverters.NumberConverter Converts values to numbers, supporting any subclass of Number (including generic Number type), and it unboxed counterpart, using a NumberFormat to parse to a Number and to convert it to a specific number type: Byte, byte: Number.byteValue() Short, short: Number.shortValue() Integer, int: Number.intValue() Float, float: Number.floatValue() Long, long: Number.longValue() Double, double: Number.doubleValue() BigInteger: BigInteger#valueOf(Long) BigDecimal: BigDecimal#valueOf(Double) If no number format is provided, it defaults to NumberFormat.getInstance().
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.
StepCandidate A StepCandidate is associated to a Java method annotated with Given, When, Then in a steps instance class.
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 StepCandidate, which includes: the step type the pattern to match the step candidate that is configured in the annotation the method in the steps instance class the steps instance class
StepFinder StepFinder is reponsible for finding and prioritising step candidates or finding steps instances from CandidateSteps, which are created using an InjectableStepsFactory.
StepFinder.ByLevenshteinDistance Strategy to priorise candidate steps by Levenshtein Distance
StepFinder.ByPriorityField Strategy to priorise step candidates by the StepCandidate.getPriority() field which is settable in the Given, When, Then annotations.
Steps Default implementation of CandidateSteps which provides the step candidates that match the steps being run.
 

Enum Summary
StepCollector.Stage  
StepType Enum representing the step types
 

Exception Summary
ParameterConverters.ParameterConvertionFailed  
StepCandidate.StartingWordNotFound  
StepCreator.ParameterNotFound  
Steps.DuplicateCandidateFound  
 



Copyright © 2003-2010. All Rights Reserved.