public class AbstractRunListener extends java.lang.Object implements IRunListener
| Constructor and Description |
|---|
AbstractRunListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterFeature(FeatureInfo feature)
Called after each feature of a spec.
|
void |
afterIteration(IterationInfo iteration)
Called after each iteration of a data-driven feature.
|
void |
afterSpec(SpecInfo spec)
Called after a spec.
|
void |
beforeFeature(FeatureInfo feature)
Called before each feature of a spec.
|
void |
beforeIteration(IterationInfo iteration)
Called before each iteration of a data-driven feature.
|
void |
beforeSpec(SpecInfo spec)
Called before a spec.
|
void |
error(ErrorInfo error)
Called for every error that occurs during a spec run.
|
void |
featureSkipped(FeatureInfo feature)
Called if a feature is skipped, for example because it is marked
with @Ignore.
|
void |
specSkipped(SpecInfo spec)
Called if a spec is skipped, for example because it is marked
with @Ignore.
|
public void beforeSpec(SpecInfo spec)
IRunListenerbeforeSpec in interface IRunListenerpublic void beforeFeature(FeatureInfo feature)
IRunListenerbeforeFeature in interface IRunListenerpublic void beforeIteration(IterationInfo iteration)
IRunListenerbeforeIteration in interface IRunListenerpublic void afterIteration(IterationInfo iteration)
IRunListenerafterIteration in interface IRunListenerpublic void afterFeature(FeatureInfo feature)
IRunListenerafterFeature in interface IRunListenerpublic void afterSpec(SpecInfo spec)
IRunListenerafterSpec in interface IRunListenerpublic void error(ErrorInfo error)
IRunListenererror in interface IRunListenerpublic void specSkipped(SpecInfo spec)
IRunListenerspecSkipped in interface IRunListenerpublic void featureSkipped(FeatureInfo feature)
IRunListenerfeatureSkipped in interface IRunListenerCopyright © 2013. All rights reserved