Package net.masterthought.cucumber
Class Trends
java.lang.Object
net.masterthought.cucumber.Trends
Contains historical information about all and failed features, scenarios and steps.
- Author:
- Damian Szczepanik (damianszczepanik@github)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBuild(String buildNumber, Reportable reportable) Adds build into the trends.String[]long[]int[]int[]int[]int[]int[]int[]int[]int[]int[]int[]int[]int[]voidlimitItems(int limit) Removes elements that points to the oldest items.
-
Constructor Details
-
Trends
public Trends()
-
-
Method Details
-
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
Adds build into the trends.- Parameters:
buildNumber- number of the buildreportable- 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
-