public class SerenityReporter
extends java.lang.Object
implements gherkin.formatter.Formatter, gherkin.formatter.Reporter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PENDING_STATUS |
| Constructor and Description |
|---|
SerenityReporter(net.thucydides.core.webdriver.Configuration systemConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
void |
after(gherkin.formatter.model.Match match,
gherkin.formatter.model.Result result) |
void |
background(gherkin.formatter.model.Background background) |
void |
before(gherkin.formatter.model.Match match,
gherkin.formatter.model.Result result) |
void |
close() |
void |
done() |
void |
embedding(java.lang.String mimeType,
byte[] data) |
void |
endOfScenarioLifeCycle(gherkin.formatter.model.Scenario scenario) |
void |
eof() |
void |
examples(gherkin.formatter.model.Examples examples) |
void |
failed(java.lang.String stepTitle,
java.lang.Throwable cause) |
void |
feature(gherkin.formatter.model.Feature feature) |
java.util.List<net.thucydides.core.model.TestOutcome> |
getAllTestOutcomes() |
protected net.thucydides.core.reports.ReportService |
getReportService() |
protected net.serenitybdd.core.SerenityListeners |
getThucydidesListeners() |
void |
match(gherkin.formatter.model.Match match) |
void |
result(gherkin.formatter.model.Result result) |
void |
scenario(gherkin.formatter.model.Scenario scenario) |
void |
scenarioOutline(gherkin.formatter.model.ScenarioOutline scenarioOutline) |
void |
startOfScenarioLifeCycle(gherkin.formatter.model.Scenario scenario) |
void |
step(gherkin.formatter.model.Step step) |
void |
syntaxError(java.lang.String state,
java.lang.String event,
java.util.List<java.lang.String> legalEvents,
java.lang.String uri,
java.lang.Integer line) |
void |
uri(java.lang.String uri) |
void |
write(java.lang.String text) |
public static final java.lang.String PENDING_STATUS
public SerenityReporter(net.thucydides.core.webdriver.Configuration systemConfiguration)
protected net.serenitybdd.core.SerenityListeners getThucydidesListeners()
protected net.thucydides.core.reports.ReportService getReportService()
public void syntaxError(java.lang.String state,
java.lang.String event,
java.util.List<java.lang.String> legalEvents,
java.lang.String uri,
java.lang.Integer line)
syntaxError in interface gherkin.formatter.Formatterpublic void uri(java.lang.String uri)
uri in interface gherkin.formatter.Formatterpublic void feature(gherkin.formatter.model.Feature feature)
feature in interface gherkin.formatter.Formatterpublic void scenarioOutline(gherkin.formatter.model.ScenarioOutline scenarioOutline)
scenarioOutline in interface gherkin.formatter.Formatterpublic void examples(gherkin.formatter.model.Examples examples)
examples in interface gherkin.formatter.Formatterpublic void startOfScenarioLifeCycle(gherkin.formatter.model.Scenario scenario)
startOfScenarioLifeCycle in interface gherkin.formatter.Formatterpublic void endOfScenarioLifeCycle(gherkin.formatter.model.Scenario scenario)
endOfScenarioLifeCycle in interface gherkin.formatter.Formatterpublic void background(gherkin.formatter.model.Background background)
background in interface gherkin.formatter.Formatterpublic void scenario(gherkin.formatter.model.Scenario scenario)
scenario in interface gherkin.formatter.Formatterpublic void step(gherkin.formatter.model.Step step)
step in interface gherkin.formatter.Formatterpublic void done()
done in interface gherkin.formatter.Formatterpublic void close()
close in interface gherkin.formatter.Formatterclose in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic void eof()
eof in interface gherkin.formatter.Formatterpublic void before(gherkin.formatter.model.Match match,
gherkin.formatter.model.Result result)
before in interface gherkin.formatter.Reporterpublic void result(gherkin.formatter.model.Result result)
result in interface gherkin.formatter.Reporterpublic void failed(java.lang.String stepTitle,
java.lang.Throwable cause)
public void after(gherkin.formatter.model.Match match,
gherkin.formatter.model.Result result)
after in interface gherkin.formatter.Reporterpublic void match(gherkin.formatter.model.Match match)
match in interface gherkin.formatter.Reporterpublic void embedding(java.lang.String mimeType,
byte[] data)
embedding in interface gherkin.formatter.Reporterpublic void write(java.lang.String text)
write in interface gherkin.formatter.Reporterpublic java.util.List<net.thucydides.core.model.TestOutcome> getAllTestOutcomes()