Class OverviewReport
- java.lang.Object
-
- net.masterthought.cucumber.generators.OverviewReport
-
- All Implemented Interfaces:
Reportable
public class OverviewReport extends Object implements Reportable
-
-
Constructor Summary
Constructors Constructor Description OverviewReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDuration()
Returns duration as milliseconds for this element.int
getFailedFeatures()
Returns number of failed features for this element.int
getFailedScenarios()
Returns number of failed scenarios for this element.int
getFailedSteps()
Returns number of failed steps for this element.int
getFeatures()
Returns number of features for this element.String
getFormattedDuration()
Returns formatted duration for this element.String
getName()
Returns name of the element that will be displayed to user.int
getPassedFeatures()
Returns number of passed features for this element.int
getPassedScenarios()
Returns number of passed scenarios for this element.int
getPassedSteps()
Returns number of passed steps for this element.int
getPendingSteps()
Returns number of pending steps for this element.int
getScenarios()
Returns number of scenarios for this element.int
getSkippedSteps()
Returns number of skipped steps for this element.Status
getStatus()
Returns status for this element.int
getSteps()
Returns number of all steps for this element.int
getUndefinedSteps()
Returns number of undefined steps for this element.void
incDurationBy(long duration)
void
incFeaturesFor(Status status)
void
incScenarioFor(Status status)
void
incStepsFor(Status status)
-
-
-
Method Detail
-
incFeaturesFor
public void incFeaturesFor(Status status)
-
getFeatures
public int getFeatures()
Description copied from interface:Reportable
Returns number of features for this element.- Specified by:
getFeatures
in interfaceReportable
-
getPassedFeatures
public int getPassedFeatures()
Description copied from interface:Reportable
Returns number of passed features for this element.- Specified by:
getPassedFeatures
in interfaceReportable
-
getFailedFeatures
public int getFailedFeatures()
Description copied from interface:Reportable
Returns number of failed features for this element.- Specified by:
getFailedFeatures
in interfaceReportable
-
incScenarioFor
public void incScenarioFor(Status status)
-
getScenarios
public int getScenarios()
Description copied from interface:Reportable
Returns number of scenarios for this element.- Specified by:
getScenarios
in interfaceReportable
-
getPassedScenarios
public int getPassedScenarios()
Description copied from interface:Reportable
Returns number of passed scenarios for this element.- Specified by:
getPassedScenarios
in interfaceReportable
-
getFailedScenarios
public int getFailedScenarios()
Description copied from interface:Reportable
Returns number of failed scenarios for this element.- Specified by:
getFailedScenarios
in interfaceReportable
-
incStepsFor
public void incStepsFor(Status status)
-
getSteps
public int getSteps()
Description copied from interface:Reportable
Returns number of all steps for this element.- Specified by:
getSteps
in interfaceReportable
-
getPassedSteps
public int getPassedSteps()
Description copied from interface:Reportable
Returns number of passed steps for this element.- Specified by:
getPassedSteps
in interfaceReportable
-
getFailedSteps
public int getFailedSteps()
Description copied from interface:Reportable
Returns number of failed steps for this element.- Specified by:
getFailedSteps
in interfaceReportable
-
getSkippedSteps
public int getSkippedSteps()
Description copied from interface:Reportable
Returns number of skipped steps for this element.- Specified by:
getSkippedSteps
in interfaceReportable
-
getUndefinedSteps
public int getUndefinedSteps()
Description copied from interface:Reportable
Returns number of undefined steps for this element.- Specified by:
getUndefinedSteps
in interfaceReportable
-
getPendingSteps
public int getPendingSteps()
Description copied from interface:Reportable
Returns number of pending steps for this element.- Specified by:
getPendingSteps
in interfaceReportable
-
incDurationBy
public void incDurationBy(long duration)
-
getDuration
public long getDuration()
Description copied from interface:Reportable
Returns duration as milliseconds for this element.- Specified by:
getDuration
in interfaceReportable
-
getFormattedDuration
public String getFormattedDuration()
Description copied from interface:Reportable
Returns formatted duration for this element.- Specified by:
getFormattedDuration
in interfaceReportable
-
getName
public String getName()
Description copied from interface:Reportable
Returns name of the element that will be displayed to user.- Specified by:
getName
in interfaceReportable
-
getStatus
public Status getStatus()
Description copied from interface:Reportable
Returns status for this element.- Specified by:
getStatus
in interfaceReportable
-
-