Class Trends

java.lang.Object
net.masterthought.cucumber.Trends

public class Trends extends Object
Contains historical information about all and failed features, scenarios and steps.
Author:
Damian Szczepanik (damianszczepanik@github)
  • Constructor Details

    • Trends

      public Trends()
  • Method Details

    • getBuildNumbers

      public String[] getBuildNumbers()
    • getFailedFeatures

      public int[] getFailedFeatures()
    • getPassedFeatures

      public int[] getPassedFeatures()
    • getTotalFeatures

      public int[] getTotalFeatures()
    • getPassedScenarios

      public int[] getPassedScenarios()
    • getFailedScenarios

      public int[] getFailedScenarios()
    • getTotalScenarios

      public int[] getTotalScenarios()
    • getPassedSteps

      public int[] getPassedSteps()
    • getFailedSteps

      public int[] getFailedSteps()
    • getSkippedSteps

      public int[] getSkippedSteps()
    • getPendingSteps

      public int[] getPendingSteps()
    • getUndefinedSteps

      public int[] getUndefinedSteps()
    • getTotalSteps

      public int[] getTotalSteps()
    • getDurations

      public long[] getDurations()
    • addBuild

      public void addBuild(String buildNumber, Reportable reportable)
      Adds build into the trends.
      Parameters:
      buildNumber - number of the build
      reportable - stats for the generated report
    • limitItems

      public void limitItems(int limit)
      Removes elements that points to the oldest items. Leave trends unchanged if the limit is bigger than current trends length.
      Parameters:
      limit - number of elements that will be leave