public class PrettyReports
extends java.lang.Object
implements io.cucumber.plugin.Plugin, io.cucumber.plugin.EventListener
| Modifier | Constructor and Description |
|---|---|
|
PrettyReports() |
|
PrettyReports(java.io.File outputDir) |
protected |
PrettyReports(java.io.File outputDir,
java.io.File jsonFile) |
protected |
PrettyReports(java.io.File outputDir,
java.io.File jsonFile,
io.cucumber.plugin.EventListener delegateJsonEventListener) |
| Modifier and Type | Method and Description |
|---|---|
protected static io.cucumber.plugin.EventListener |
createJsonEventListener(java.io.File jsonFile) |
protected static java.io.File |
createTempFileDeletedOnExit() |
protected io.cucumber.plugin.event.EventHandler<io.cucumber.plugin.event.TestRunFinished> |
generatePrettyReport(java.io.File jsonFile) |
protected static void |
generatePrettyReport(java.io.File jsonFile,
java.io.File outputDir) |
void |
setEventPublisher(io.cucumber.plugin.event.EventPublisher publisher) |
public PrettyReports()
throws java.lang.Exception
java.lang.Exceptionpublic PrettyReports(java.io.File outputDir)
throws java.lang.Exception
java.lang.Exceptionprotected PrettyReports(java.io.File outputDir,
java.io.File jsonFile)
throws java.lang.Exception
java.lang.Exceptionprotected PrettyReports(java.io.File outputDir,
java.io.File jsonFile,
io.cucumber.plugin.EventListener delegateJsonEventListener)
protected static java.io.File createTempFileDeletedOnExit()
throws java.io.IOException
java.io.IOExceptionprotected static io.cucumber.plugin.EventListener createJsonEventListener(java.io.File jsonFile)
public void setEventPublisher(io.cucumber.plugin.event.EventPublisher publisher)
setEventPublisher in interface io.cucumber.plugin.EventListenerprotected io.cucumber.plugin.event.EventHandler<io.cucumber.plugin.event.TestRunFinished> generatePrettyReport(java.io.File jsonFile)
protected static void generatePrettyReport(java.io.File jsonFile,
java.io.File outputDir)