|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectnet.thucydides.core.reports.TestOutcomes
public class TestOutcomes
A set of test outcomes, which lets you perform query operations on the test outcomes. In particular, you can filter a set of test outcomes by tag type and by tag values. Since these operations also return TestOutcomes, you can then further drill down into the test outcome sets. The TestOutcomes object will usually return a list of TestOutcome objects. You can also inject statistics and test run history by using the withHistory() method. This will return a list of TestOutcomeWithHistory instances.
| Constructor Summary | |
|---|---|
protected |
TestOutcomes(List<? extends TestOutcome> outcomes,
double estimatedAverageStepCount)
|
protected |
TestOutcomes(List<? extends TestOutcome> outcomes,
double estimatedAverageStepCount,
String label,
HibernateTestStatisticsProvider testStatisticsProvider)
|
protected |
TestOutcomes(List<? extends TestOutcome> outcomes,
double estimatedAverageStepCount,
String label,
HibernateTestStatisticsProvider testStatisticsProvider,
TestOutcomes rootOutcomes)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject
protected TestOutcomes(List<? extends TestOutcome> outcomes,
double estimatedAverageStepCount,
String label,
HibernateTestStatisticsProvider testStatisticsProvider,
TestOutcomes rootOutcomes)
protected TestOutcomes(List<? extends TestOutcome> outcomes,
double estimatedAverageStepCount,
String label,
HibernateTestStatisticsProvider testStatisticsProvider)
protected TestOutcomes(List<? extends TestOutcome> outcomes,
double estimatedAverageStepCount)
| Method Detail |
|---|
protected TestOutcomes withLabel(String label)
public static TestOutcomes of(List<? extends TestOutcome> outcomes)
protected TestStatisticsProvider getTestStatisticsProvider()
public String getLabel()
public List<String> getTagTypes()
public List<String> getTagNames()
public List<TestTag> getTags()
public List<String> getTagsOfType(String tagType)
public List<String> getTagsOfTypeExcluding(String tagType,
String excludedTags)
public TestOutcomes getRootOutcomes()
public TestOutcomes withTagType(String tagType)
tagType - the tag type we are filtering on
public TestOutcomes withTag(String tagName)
tagName - the name of the tag type we are filtering on
public TestOutcomes withHistory()
public TestOutcomes getFailingTests()
public TestOutcomes getPassingTests()
public TestOutcomes getPendingTests()
public List<? extends TestOutcome> getTests()
public Long getDuration()
public double getDurationInSeconds()
public int getTotal()
public TestResult getResult()
public int getStepCount()
public int getSuccessCount()
public int getFailureCount()
public int getPendingCount()
public int getSkipCount()
public Double getPercentagePassingStepCount()
public String getDecimalPercentagePassingStepCount()
public String getDecimalPercentagePendingStepCount()
public String getDecimalPercentageFailingStepCount()
public Double getPercentageFailingStepCount()
public Double getPercentagePendingStepCount()
public CoverageFormatter getFormatted()
public double getAverageTestSize()
public double getRecentStability()
public double getOverallStability()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||