Class OctaneTestMetrics
java.lang.Object
io.jenkins.plugins.octanesuitegatebyembiti.models.OctaneTestMetrics
- All Implemented Interfaces:
Serializable
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringautomationTargetTone(int automationPercentage, int automationTestTotal, int automatedTestingTarget) static OctaneTestMetricsempty()static OctaneTestMetricsfromResult(GateResult result) static OctaneTestMetricsfromSnapshots(OctaneGateReportSnapshot current, OctaneGateReportSnapshot previous) intintintintgetCards()inttoMap()withAutomatedTestingTarget(int target)
-
Method Details
-
empty
-
fromResult
-
fromSnapshots
public static OctaneTestMetrics fromSnapshots(OctaneGateReportSnapshot current, OctaneGateReportSnapshot previous) -
getCards
-
getAutomatedTestCount
public int getAutomatedTestCount() -
getManualTestCount
public int getManualTestCount() -
getAutomationTestTotal
public int getAutomationTestTotal() -
getAutomationPercentage
public int getAutomationPercentage() -
getAutomationPercentageText
-
getAutomationEmoji
-
getAutomatedTestingTarget
public int getAutomatedTestingTarget() -
getAutomationTone
-
automationTargetTone
public static String automationTargetTone(int automationPercentage, int automationTestTotal, int automatedTestingTarget) -
withAutomatedTestingTarget
-
toMap
-