net.thucydides.core.requirements.reports
Class RequirementOutcome

Package class diagram package RequirementOutcome
java.lang.Object
  extended by net.thucydides.core.requirements.reports.RequirementOutcome

public class RequirementOutcome
extends Object


Nested Class Summary
 class RequirementOutcome.OutcomeCounter
           
 
Constructor Summary
RequirementOutcome(Requirement requirement, TestOutcomes testOutcomes, int requirementsWithoutTests, int estimatedUnimplementedTests, IssueTracking issueTracking)
           
RequirementOutcome(Requirement requirement, TestOutcomes testOutcomes, IssueTracking issueTracking)
           
 
Method Summary
 RequirementOutcome.OutcomeCounter count(String testType)
           
 RequirementOutcome.OutcomeCounter count(TestType testType)
           
 String getCardNumberWithLinks()
           
 int getEstimatedUnimplementedTests()
           
 int getFlattenedRequirementCount()
           
 List<Requirement> getFlattenedRequirements()
           
 RequirementsPercentageFormatter getFormattedPercentage()
           
 RequirementsPercentageFormatter getFormattedPercentage(String testType)
           
 RequirementsPercentageFormatter getFormattedPercentage(TestType testType)
           
 RequirementsProportionCounter getPercent()
           
 Set<String> getReleaseVersions()
           
 Requirement getRequirement()
           
 int getRequirementsWithoutTestsCount()
           
 int getTestCount()
           
 TestOutcomes getTestOutcomes()
           
 TestOutcomes getTests()
           
 RequirementOutcome.OutcomeCounter getTotal()
           
 boolean isComplete()
          Is this requirement complete? A Requirement is considered complete if it has associated tests to all of the tests are successful.
 boolean isFailure()
           
 boolean isPending()
           
 RequirementsProportionCounter percentage(String testType)
           
 RequirementsProportionCounter percentage(TestType testType)
           
 boolean testsRequirement(Requirement requirement)
           
 String toString()
           
 RequirementOutcome withTestOutcomes(TestOutcomes testOutcomes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequirementOutcome

public RequirementOutcome(Requirement requirement,
                          TestOutcomes testOutcomes,
                          int requirementsWithoutTests,
                          int estimatedUnimplementedTests,
                          IssueTracking issueTracking)

RequirementOutcome

public RequirementOutcome(Requirement requirement,
                          TestOutcomes testOutcomes,
                          IssueTracking issueTracking)
Method Detail

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()

isPending

public boolean isPending()

getFlattenedRequirementCount

public int getFlattenedRequirementCount()

getFlattenedRequirements

public List<Requirement> getFlattenedRequirements()

getRequirementsWithoutTestsCount

public int getRequirementsWithoutTestsCount()

getCardNumberWithLinks

public String getCardNumberWithLinks()

toString

public String toString()
Overrides:
toString in class Object

getTestCount

public int getTestCount()

getTests

public TestOutcomes getTests()

getEstimatedUnimplementedTests

public int getEstimatedUnimplementedTests()

getFormattedPercentage

public RequirementsPercentageFormatter getFormattedPercentage()

getFormattedPercentage

public RequirementsPercentageFormatter getFormattedPercentage(String testType)

getFormattedPercentage

public RequirementsPercentageFormatter getFormattedPercentage(TestType testType)

testsRequirement

public boolean testsRequirement(Requirement requirement)

getPercent

public RequirementsProportionCounter getPercent()

percentage

public RequirementsProportionCounter percentage(String testType)

percentage

public RequirementsProportionCounter percentage(TestType testType)

getTotal

public RequirementOutcome.OutcomeCounter getTotal()

count

public RequirementOutcome.OutcomeCounter count(TestType testType)

count

public RequirementOutcome.OutcomeCounter count(String testType)

getReleaseVersions

public Set<String> getReleaseVersions()


Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.