public class AnnotatedPathRunner extends AnnotatedEmbedderRunner
Runner
that uses a UsingPaths
annotation to specify
which story paths to run and uses the RunNotifier
to provide a
Description
for each. The story description uses a
StoryNameResolver
(overridable via the storyNameResolver()
method) to resolve the story path to a name.Constructor and Description |
---|
AnnotatedPathRunner(Class<?> annotatedClass)
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
collectInitializationErrors(List<Throwable> errors) |
Description |
getDescription() |
void |
run(RunNotifier notifier) |
protected StoryNameResolver |
storyNameResolver() |
protected void |
validateInstanceMethods(List<Throwable> errors) |
annotationBuilder, createTest, testClass
protected StoryNameResolver storyNameResolver()
public Description getDescription()
public void run(RunNotifier notifier)
Copyright © 2003–2015. All rights reserved.