public class CucumberDetailedResults extends KECompatibleReport
| Modifier and Type | Class and Description |
|---|---|
class |
CucumberDetailedResults.OverviewStats |
| Modifier and Type | Field and Description |
|---|---|
private String |
screenShotLocation |
private String |
screenShotWidth |
CHART_HEIGHT, CHART_THICKNESS, CHART_WIDTH| Constructor and Description |
|---|
CucumberDetailedResults() |
CucumberDetailedResults(ExtendedRuntimeOptions extendedOptions) |
execute, execute, executeexecuteaggregateResults, execute, execute, readFileContent, readFileContentconstructErrorMessage, dumpOverviewStats, exportToPDF, getOutputDirectory, getOutputName, getPdfPageSize, getSourceFile, getSourceFiles, readFileContent, replaceSvgWithPng, setOutputDirectory, setOutputName, setPdfPageSize, setSourceFile, setSourceFilesprivate String screenShotLocation
private String screenShotWidth
public CucumberDetailedResults()
public CucumberDetailedResults(ExtendedRuntimeOptions extendedOptions)
public final String getScreenShotLocation()
public final void setScreenShotLocation(String screenShotLocationValue)
screenShotLocationValue - the screenShotLocation to setpublic final String getScreenShotWidth()
public final void setScreenShotWidth(String screenShotWidthValue)
screenShotWidthValue - the screenShotWidth to setprivate String getReportBase() throws IOException
IOExceptionpublic CucumberDetailedResults.OverviewStats valuateOverviewStats(CucumberFeatureResult[] results)
private String generateOverview(CucumberFeatureResult[] results)
private String generateTableOfContents(CucumberFeatureResult[] results)
private String generateStepRows(CucumberStepResult step)
private String generateDocString(CucumberStepResult step)
private String embeddingScreenShots(CucumberScenarioResult scenario, CucumberStepResult step) throws IOException
IOExceptionprivate String embeddingOutput(CucumberStepResult step)
private String generateScreenShot(CucumberScenarioResult scenario, CucumberStepResult step) throws IOException
IOExceptionprivate String generateBeforeAfterRow(CucumberBeforeAfterResult results, String name)
private String generateStepsReport(CucumberFeatureResult[] results) throws IOException
IOExceptionpublic int[][] getStatuses(CucumberFeatureResult[] results)
getStatuses in class CucumberResultsCommonpublic CucumberReportTypes getReportType()
getReportType in class CucumberResultsCommonpublic void validateParameters()
validateParameters in class CucumberResultsCommonpublic CucumberReportLink getReportDocLink()
getReportDocLink in class CucumberResultsCommonpublic void execute(boolean aggregate,
boolean toPDF)
throws Exception
execute in class AggregatedReportExceptionpublic void execute(KnownErrorsModel batch, boolean aggregate, boolean toPDF) throws Exception
execute in class KECompatibleReportExceptionCopyright © 2013-2017. All Rights Reserved.