public class RequirementOutcome extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
RequirementOutcome.OutcomeCounter |
| Constructor and Description |
|---|
RequirementOutcome(Requirement requirement,
TestOutcomes testOutcomes,
IssueTracking issueTracking) |
RequirementOutcome(Requirement requirement,
TestOutcomes testOutcomes,
long requirementsWithoutTests,
long estimatedUnimplementedTests,
IssueTracking issueTracking) |
public RequirementOutcome(Requirement requirement, TestOutcomes testOutcomes, long requirementsWithoutTests, long estimatedUnimplementedTests, IssueTracking issueTracking)
public RequirementOutcome(Requirement requirement, TestOutcomes testOutcomes, IssueTracking issueTracking)
public RequirementOutcome withTestOutcomes(TestOutcomes testOutcomes)
public Requirement getRequirement()
public TestOutcomes getTestOutcomes()
public boolean isComplete()
public boolean isFailure()
public boolean isError()
public boolean isCompromised()
public boolean isPending()
public boolean isIgnored()
public boolean isSkipped()
public int getFlattenedRequirementCount()
public List<Requirement> getFlattenedRequirements()
public List<Requirement> getFlattenedRequirements(Requirement... excludingRequirement)
public long getRequirementsWithoutTestsCount()
public String getCardNumberWithLinks()
public long getTestCaseCount()
public long getScenarioCount()
public long getTestCount()
public TestOutcomes getTests()
public long getEstimatedUnimplementedTests()
public RequirementsPercentageFormatter getFormattedPercentage()
public RequirementsPercentageFormatter getFormattedPercentage(String testType)
public RequirementsPercentageFormatter getFormattedPercentage(TestType testType)
public boolean testsRequirement(Requirement requirement)
public RequirementsProportionCounter getPercent()
public PercentageRequirementCounter getPercentRequirements()
public SubrequirementsCount getSubrequirements()
public RequirementsProportionCounter percentage(String testType)
public RequirementsProportionCounter percentage(TestType testType)
public RequirementOutcome.OutcomeCounter getTotal()
public RequirementOutcome.OutcomeCounter count(TestType testType)
public RequirementOutcome.OutcomeCounter count(String testType)
public RequirementOutcome withoutUnrelatedRequirements()
public RequirementOutcome filteredByDisplayTag()
public boolean shouldPrune(RequirementOutcome requirementOutcome)
Copyright © 2022. All rights reserved.