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()
int
getFailedFeatures()
int
getFailedScenarios()
int
getFailedSteps()
int
getFeatures()
String
getFormattedDuration()
String
getName()
int
getPassedFeatures()
int
getPassedScenarios()
int
getPassedSteps()
int
getPendingSteps()
int
getScenarios()
int
getSkippedSteps()
Status
getStatus()
int
getSteps()
int
getUndefinedSteps()
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()
- Specified by:
getFeatures
in interfaceReportable
- Returns:
- number of features for this element.
-
getPassedFeatures
public int getPassedFeatures()
- Specified by:
getPassedFeatures
in interfaceReportable
- Returns:
- number of passed features for this element.
-
getFailedFeatures
public int getFailedFeatures()
- Specified by:
getFailedFeatures
in interfaceReportable
- Returns:
- number of failed features for this element.
-
incScenarioFor
public void incScenarioFor(Status status)
-
getScenarios
public int getScenarios()
- Specified by:
getScenarios
in interfaceReportable
- Returns:
- number of scenarios for this element.
-
getPassedScenarios
public int getPassedScenarios()
- Specified by:
getPassedScenarios
in interfaceReportable
- Returns:
- number of passed scenarios for this element.
-
getFailedScenarios
public int getFailedScenarios()
- Specified by:
getFailedScenarios
in interfaceReportable
- Returns:
- number of failed scenarios for this element.
-
incStepsFor
public void incStepsFor(Status status)
-
getSteps
public int getSteps()
- Specified by:
getSteps
in interfaceReportable
- Returns:
- number of all steps for this element.
-
getPassedSteps
public int getPassedSteps()
- Specified by:
getPassedSteps
in interfaceReportable
- Returns:
- number of passed steps for this element.
-
getFailedSteps
public int getFailedSteps()
- Specified by:
getFailedSteps
in interfaceReportable
- Returns:
- number of failed steps for this element.
-
getSkippedSteps
public int getSkippedSteps()
- Specified by:
getSkippedSteps
in interfaceReportable
- Returns:
- number of skipped steps for this element.
-
getUndefinedSteps
public int getUndefinedSteps()
- Specified by:
getUndefinedSteps
in interfaceReportable
- Returns:
- number of undefined steps for this element.
-
getPendingSteps
public int getPendingSteps()
- Specified by:
getPendingSteps
in interfaceReportable
- Returns:
- number of pending steps for this element.
-
incDurationBy
public void incDurationBy(long duration)
-
getDuration
public long getDuration()
- Specified by:
getDuration
in interfaceReportable
- Returns:
- duration as milliseconds for this element.
-
getFormattedDuration
public String getFormattedDuration()
- Specified by:
getFormattedDuration
in interfaceReportable
- Returns:
- formatted duration for this element.
-
getName
public String getName()
- Specified by:
getName
in interfaceReportable
- Returns:
- name of the element that will be displayed to user.
-
getStatus
public Status getStatus()
- Specified by:
getStatus
in interfaceReportable
- Returns:
- status for this element.
-
-