Class ResultCounts

java.lang.Object
net.thucydides.core.reports.html.ResultCounts

public class ResultCounts extends Object
  • Constructor Details

    • ResultCounts

      public ResultCounts(TestOutcomes testOutcomes)
  • Method Details

    • hasManualTests

      public boolean hasManualTests()
    • getAutomatedTestCount

      public Integer getAutomatedTestCount(String result)
    • getManualTestCount

      public Integer getManualTestCount(String result)
    • getOverallTestCount

      public Integer getOverallTestCount(String result)
    • getOverallTestsCount

      public Integer getOverallTestsCount(String... results)
    • getTotalAutomatedTestCount

      public Integer getTotalAutomatedTestCount()
    • getTotalManualTestCount

      public Integer getTotalManualTestCount()
    • getTotalOverallTestCount

      public Integer getTotalOverallTestCount()
    • getAutomatedTestPercentageLabel

      public String getAutomatedTestPercentageLabel(String result)
    • getManualTestPercentageLabel

      public String getManualTestPercentageLabel(String result)
    • getOverallTestPercentageLabel

      public String getOverallTestPercentageLabel(String result)
    • getAutomatedTestPercentage

      public Integer getAutomatedTestPercentage(String result)
    • getManualTestPercentage

      public Integer getManualTestPercentage(String result)
    • getOverallTestPercentage

      public Integer getOverallTestPercentage(String result)
    • getPreciseTestPercentage

      public Double getPreciseTestPercentage(String result)
    • forOutcomesIn

      public static ResultCounts forOutcomesIn(TestOutcomes testOutcomes)
    • byTypeFor

      public String byTypeFor(String... testResultTypes)
      Returns automated and manual result counts of each of the specified result types
    • percentageLabelsByTypeFor

      public String percentageLabelsByTypeFor(String... testResultTypes)