Class RequirementOutcome

java.lang.Object
net.thucydides.core.requirements.reports.RequirementOutcome

public class RequirementOutcome
extends java.lang.Object
  • Constructor Details

  • Method Details

    • withTestOutcomes

      public RequirementOutcome withTestOutcomes​(TestOutcomes testOutcomes)
    • getRequirement

      public Requirement getRequirement()
    • getTestOutcomes

      public TestOutcomes getTestOutcomes()
    • isComplete

      public boolean isComplete()
      Is this requirement complete? A Requirement is considered complete if it has associated tests to all of the tests are successful.
    • isFailure

      public boolean isFailure()
    • isError

      public boolean isError()
    • isCompromised

      public boolean isCompromised()
    • isPending

      public boolean isPending()
    • isIgnored

      public boolean isIgnored()
    • isSkipped

      public boolean isSkipped()
    • getFlattenedRequirementCount

      public int getFlattenedRequirementCount()
    • getFlattenedRequirements

      public java.util.List<Requirement> getFlattenedRequirements()
    • getFlattenedRequirements

      public java.util.List<Requirement> getFlattenedRequirements​(Requirement... excludingRequirement)
    • getRequirementsWithoutTestsCount

      public long getRequirementsWithoutTestsCount()
    • getCardNumberWithLinks

      public java.lang.String getCardNumberWithLinks()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • getTestCount

      public int getTestCount()
    • getTests

      public TestOutcomes getTests()
    • getEstimatedUnimplementedTests

      public long getEstimatedUnimplementedTests()
    • getFormattedPercentage

      public RequirementsPercentageFormatter getFormattedPercentage()
    • getFormattedPercentage

      public RequirementsPercentageFormatter getFormattedPercentage​(java.lang.String testType)
    • getFormattedPercentage

      public RequirementsPercentageFormatter getFormattedPercentage​(TestType testType)
    • testsRequirement

      public boolean testsRequirement​(Requirement requirement)
    • getPercent

      public RequirementsProportionCounter getPercent()
    • getPercentRequirements

      public PercentageRequirementCounter getPercentRequirements()
    • getSubrequirements

      public SubrequirementsCount getSubrequirements()
    • percentage

      public RequirementsProportionCounter percentage​(java.lang.String testType)
    • percentage

      public RequirementsProportionCounter percentage​(TestType testType)
    • getTotal

    • count

      public RequirementOutcome.OutcomeCounter count​(TestType testType)
    • count

      public RequirementOutcome.OutcomeCounter count​(java.lang.String testType)
    • getReleaseVersions

      public java.util.Set<java.lang.String> getReleaseVersions()
    • withoutUnrelatedRequirements

      public RequirementOutcome withoutUnrelatedRequirements()
    • filteredByDisplayTag

      public RequirementOutcome filteredByDisplayTag()
    • shouldPrune

      public boolean shouldPrune​(RequirementOutcome requirementOutcome)
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object