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 longgetDuration()intgetFailedFeatures()intgetFailedScenarios()intgetFailedSteps()intgetFeatures()StringgetFormattedDuration()StringgetName()intgetPassedFeatures()intgetPassedScenarios()intgetPassedSteps()intgetPendingSteps()intgetScenarios()intgetSkippedSteps()StatusgetStatus()intgetSteps()intgetUndefinedSteps()voidincDurationBy(long duration)voidincFeaturesFor(Status status)voidincScenarioFor(Status status)voidincStepsFor(Status status)
-
-
-
Method Detail
-
incFeaturesFor
public void incFeaturesFor(Status status)
-
getFeatures
public int getFeatures()
- Specified by:
getFeaturesin interfaceReportable- Returns:
- number of features for this element.
-
getPassedFeatures
public int getPassedFeatures()
- Specified by:
getPassedFeaturesin interfaceReportable- Returns:
- number of passed features for this element.
-
getFailedFeatures
public int getFailedFeatures()
- Specified by:
getFailedFeaturesin interfaceReportable- Returns:
- number of failed features for this element.
-
incScenarioFor
public void incScenarioFor(Status status)
-
getScenarios
public int getScenarios()
- Specified by:
getScenariosin interfaceReportable- Returns:
- number of scenarios for this element.
-
getPassedScenarios
public int getPassedScenarios()
- Specified by:
getPassedScenariosin interfaceReportable- Returns:
- number of passed scenarios for this element.
-
getFailedScenarios
public int getFailedScenarios()
- Specified by:
getFailedScenariosin interfaceReportable- Returns:
- number of failed scenarios for this element.
-
incStepsFor
public void incStepsFor(Status status)
-
getSteps
public int getSteps()
- Specified by:
getStepsin interfaceReportable- Returns:
- number of all steps for this element.
-
getPassedSteps
public int getPassedSteps()
- Specified by:
getPassedStepsin interfaceReportable- Returns:
- number of passed steps for this element.
-
getFailedSteps
public int getFailedSteps()
- Specified by:
getFailedStepsin interfaceReportable- Returns:
- number of failed steps for this element.
-
getSkippedSteps
public int getSkippedSteps()
- Specified by:
getSkippedStepsin interfaceReportable- Returns:
- number of skipped steps for this element.
-
getUndefinedSteps
public int getUndefinedSteps()
- Specified by:
getUndefinedStepsin interfaceReportable- Returns:
- number of undefined steps for this element.
-
getPendingSteps
public int getPendingSteps()
- Specified by:
getPendingStepsin interfaceReportable- Returns:
- number of pending steps for this element.
-
incDurationBy
public void incDurationBy(long duration)
-
getDuration
public long getDuration()
- Specified by:
getDurationin interfaceReportable- Returns:
- duration as milliseconds for this element.
-
getFormattedDuration
public String getFormattedDuration()
- Specified by:
getFormattedDurationin interfaceReportable- Returns:
- formatted duration for this element.
-
getName
public String getName()
- Specified by:
getNamein interfaceReportable- Returns:
- name of the element that will be displayed to user.
-
getStatus
public Status getStatus()
- Specified by:
getStatusin interfaceReportable- Returns:
- status for this element.
-
-