IRunListener
RevertMetaClassRunListener
public class AbstractRunListener extends java.lang.Object implements IRunListener
Constructor | Description |
---|---|
AbstractRunListener() |
Modifier and Type | Method | 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)
IRunListener
beforeSpec
in interface IRunListener
public void beforeFeature(FeatureInfo feature)
IRunListener
beforeFeature
in interface IRunListener
public void beforeIteration(IterationInfo iteration)
IRunListener
beforeIteration
in interface IRunListener
public void afterIteration(IterationInfo iteration)
IRunListener
afterIteration
in interface IRunListener
public void afterFeature(FeatureInfo feature)
IRunListener
afterFeature
in interface IRunListener
public void afterSpec(SpecInfo spec)
IRunListener
afterSpec
in interface IRunListener
public void error(ErrorInfo error)
IRunListener
error
in interface IRunListener
public void specSkipped(SpecInfo spec)
IRunListener
specSkipped
in interface IRunListener
public void featureSkipped(FeatureInfo feature)
IRunListener
featureSkipped
in interface IRunListener
Copyright © 2018. All rights reserved