Class OctaneTestMetrics

java.lang.Object
io.jenkins.plugins.octanesuitegatebyembiti.models.OctaneTestMetrics
All Implemented Interfaces:
Serializable

public class OctaneTestMetrics extends Object implements Serializable
See Also:
  • Method Details

    • empty

      public static OctaneTestMetrics empty()
    • fromResult

      public static OctaneTestMetrics fromResult(GateResult result)
    • fromSnapshots

      public static OctaneTestMetrics fromSnapshots(OctaneGateReportSnapshot current, OctaneGateReportSnapshot previous)
    • getCards

      public List<OctaneTestMetricCard> getCards()
    • getAutomatedTestCount

      public int getAutomatedTestCount()
    • getManualTestCount

      public int getManualTestCount()
    • getAutomationTestTotal

      public int getAutomationTestTotal()
    • getAutomationPercentage

      public int getAutomationPercentage()
    • getAutomationPercentageText

      public String getAutomationPercentageText()
    • getAutomationEmoji

      public String getAutomationEmoji()
    • getAutomatedTestingTarget

      public int getAutomatedTestingTarget()
    • getAutomationTone

      public String getAutomationTone()
    • automationTargetTone

      public static String automationTargetTone(int automationPercentage, int automationTestTotal, int automatedTestingTarget)
    • withAutomatedTestingTarget

      public OctaneTestMetrics withAutomatedTestingTarget(int target)
    • toMap

      public Map<String,Object> toMap()