Class RequirementOutcome
java.lang.Object
net.thucydides.model.requirements.reports.RequirementOutcome
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionRequirementOutcome(Requirement requirement, TestOutcomes testOutcomes, long requirementsWithoutTests, long estimatedUnimplementedTests, IssueTracking issueTracking) RequirementOutcome(Requirement requirement, TestOutcomes testOutcomes, IssueTracking issueTracking) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongintgetFlattenedRequirements(Requirement... excludingRequirement) getFormattedPercentage(String testType) getFormattedPercentage(TestType testType) longlonglonglonggetTests()getTotal()inthashCode()booleanIs this requirement complete? A Requirement is considered complete if it has associated tests to all of the tests are successful.booleanbooleanisError()booleanbooleanbooleanbooleanpercentage(String testType) percentage(TestType testType) booleanshouldPrune(RequirementOutcome requirementOutcome) booleantestsRequirement(Requirement requirement) toString()withTestOutcomes(TestOutcomes testOutcomes)
-
Constructor Details
-
RequirementOutcome
public RequirementOutcome(Requirement requirement, TestOutcomes testOutcomes, long requirementsWithoutTests, long estimatedUnimplementedTests, IssueTracking issueTracking) -
RequirementOutcome
public RequirementOutcome(Requirement requirement, TestOutcomes testOutcomes, IssueTracking issueTracking)
-
-
Method Details
-
withTestOutcomes
-
getRequirement
-
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
-
getFlattenedRequirements
-
getRequirementsWithoutTestsCount
public long getRequirementsWithoutTestsCount() -
getCardNumberWithLinks
-
toString
-
getTestCaseCount
public long getTestCaseCount() -
getScenarioCount
public long getScenarioCount() -
getTestCount
public long getTestCount() -
getTests
-
getEstimatedUnimplementedTests
public long getEstimatedUnimplementedTests() -
getFormattedPercentage
-
getFormattedPercentage
-
getFormattedPercentage
-
testsRequirement
-
getPercent
-
getPercentRequirements
-
getSubrequirements
-
percentage
-
percentage
-
getTotal
-
count
-
count
-
getReleaseVersions
-
filteredByDisplayTag
-
shouldPrune
-
equals
-
hashCode
public int hashCode()
-