public class PrettyReports extends Object implements cucumber.api.Plugin, cucumber.api.formatter.Formatter
| Constructor and Description |
|---|
PrettyReports() |
PrettyReports(File outputDir) |
| Modifier and Type | Method and Description |
|---|---|
protected static cucumber.api.formatter.Formatter |
createJsonFormatter(File jsonFile) |
protected File |
createTempFileDeletedOnExit() |
protected void |
generatePrettyReport(cucumber.api.event.TestRunFinished event) |
void |
setEventPublisher(cucumber.api.event.EventPublisher publisher) |
protected File createTempFileDeletedOnExit() throws IOException
IOExceptionprotected static cucumber.api.formatter.Formatter createJsonFormatter(File jsonFile) throws Exception
Exceptionpublic void setEventPublisher(cucumber.api.event.EventPublisher publisher)
setEventPublisher in interface cucumber.api.event.EventListenerprotected void generatePrettyReport(cucumber.api.event.TestRunFinished event)
Copyright © 2019. All rights reserved.