Class OverviewReport

java.lang.Object
net.masterthought.cucumber.generators.OverviewReport
All Implemented Interfaces:
Reportable

public class OverviewReport extends Object implements Reportable
  • Constructor Details

    • OverviewReport

      public OverviewReport()
  • Method Details

    • incFeaturesFor

      public void incFeaturesFor(Status status)
    • getFeatures

      public int getFeatures()
      Specified by:
      getFeatures in interface Reportable
      Returns:
      number of features for this element.
    • getPassedFeatures

      public int getPassedFeatures()
      Specified by:
      getPassedFeatures in interface Reportable
      Returns:
      number of passed features for this element.
    • getFailedFeatures

      public int getFailedFeatures()
      Specified by:
      getFailedFeatures in interface Reportable
      Returns:
      number of failed features for this element.
    • incScenarioFor

      public void incScenarioFor(Status status)
    • getScenarios

      public int getScenarios()
      Specified by:
      getScenarios in interface Reportable
      Returns:
      number of scenarios for this element.
    • getPassedScenarios

      public int getPassedScenarios()
      Specified by:
      getPassedScenarios in interface Reportable
      Returns:
      number of passed scenarios for this element.
    • getFailedScenarios

      public int getFailedScenarios()
      Specified by:
      getFailedScenarios in interface Reportable
      Returns:
      number of failed scenarios for this element.
    • incStepsFor

      public void incStepsFor(Status status)
    • getSteps

      public int getSteps()
      Specified by:
      getSteps in interface Reportable
      Returns:
      number of all steps for this element.
    • getPassedSteps

      public int getPassedSteps()
      Specified by:
      getPassedSteps in interface Reportable
      Returns:
      number of passed steps for this element.
    • getFailedSteps

      public int getFailedSteps()
      Specified by:
      getFailedSteps in interface Reportable
      Returns:
      number of failed steps for this element.
    • getSkippedSteps

      public int getSkippedSteps()
      Specified by:
      getSkippedSteps in interface Reportable
      Returns:
      number of skipped steps for this element.
    • getUndefinedSteps

      public int getUndefinedSteps()
      Specified by:
      getUndefinedSteps in interface Reportable
      Returns:
      number of undefined steps for this element.
    • getPendingSteps

      public int getPendingSteps()
      Specified by:
      getPendingSteps in interface Reportable
      Returns:
      number of pending steps for this element.
    • incDurationBy

      public void incDurationBy(long duration)
    • getDuration

      public long getDuration()
      Specified by:
      getDuration in interface Reportable
      Returns:
      duration as milliseconds for this element.
    • getFormattedDuration

      public String getFormattedDuration()
      Specified by:
      getFormattedDuration in interface Reportable
      Returns:
      formatted duration for this element.
    • getName

      public String getName()
      Specified by:
      getName in interface Reportable
      Returns:
      name of the element that will be displayed to user.
    • getStatus

      public Status getStatus()
      Specified by:
      getStatus in interface Reportable
      Returns:
      status for this element.