|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
InjectableStepsFactory that is provided
by concrete subclasses Object instances which contain the candidate steps
methods.Runner that uses the AnnotationBuilder to
create an embeddable test instance and to provide an Embedder
from annotations.Configuration, CandidateSteps and
Embedder from an annotated class.BeforeStory, AfterStory, BeforeScenario or
AfterScenario in a CandidatesSteps instance class.UsingSteps found in the
annotated object instance and using the configuration build by
AnnotationBuilder.buildConfiguration()
UsingSteps found in the
annotated object instance and the configuration provided
Configure
found in the annotated object instance
Given,
When, Then in a CandidatesSteps instance class.@Given, @When or @Then,
that can be matched.CandidateSteps
instances.
Embeddable which allow to configure
the Embedder used to run the story or stories, using the
Configuration and the CandidateSteps specified.Embedder and the in the
Embeddable implementations to customise its runtime properties.PropertyBasedConfiguration.SILENT_SUCCESS is set, uses a
SilentSuccessFilter to decorate the default StoryReporter.
StoryReporters and delegates all
invocations to the collected reporters.Embedder.FilePrintStreamFactory.FilePrintStream instances that write to a file
identified by the StoryLocation.ViewGenerator, using the file outputs of the
reporters for the given formats.Class containing at least one method
annotated with annotations from package "org.jbehave.core.annotations".
Embeddable which allows to inject
the Embedder used to run the story or stories.CandidateSteps.InjectableStepsFactory that is provided Object instances.JUnitStories.storyPaths().Embeddable class.Keywords.defaultKeywords()
LoadFromRelativeFile, to
allow a range of possibilities for locating Story file pathsAbstractStepResult.Pending.Date using an injectable DateFormat
(defaults to new SimpleDateFormat("dd/MM/yyyy"))PropertyBasedConfiguration.FAIL_ON_PENDING is set, returns
FailingUponPendingStep otherwise returns the default.
PrintStream, defaulting to
System.outPrintStream instances.PrintStream, defaulting to
System.out.PropertyBasedConfiguration.FAIL_ON_PENDING: uses FailingUponPendingStep
PropertyBasedConfiguration.SILENT_SUCCESS: uses SilentSuccessFilter decorator
Story, which comprises of a collection of
Scenarios, each of which contains a number of steps.PrintStream only failure eventsCandidateSteps instances.Steps from a
given story or scenario matching a list of CandidateSteps.Throwable that caused the failure is wrapped
in a StepFailed together with the step during which the failure
occurred.CandidateSteps instances.CandidateStep.getPriority() field which is settable in the
Given, When, Then annotations.StepMatcher which will in turn match textual steps conforming to the pattern.CandidateSteps which provides access to the
candidate steps that match the story you want to run.DirectoryScanner.Embeddable class to a resource
path.StoryReporters.Story, given a Configuration and a list of CandidateSteps,
describing the results to the StoryReporter.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||