Package com.atlassian.bamboo.build.test
Interface TestCollectionResult
@PublicApi
public interface TestCollectionResult
Holds the successful and failed
TestResults
after calling TestReportCollector.collect(File)
Use TestCollectionResultBuilder
to create instances of this interface- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescriptionGet all the unitTestResults
that have failed.Get all the unitTestResults
that have been skipped (or inconclusive).Get all the unitTestResults
that have passed without error.
-
Method Details
-
getSuccessfulTestResults
List<TestResults> getSuccessfulTestResults()Get all the unitTestResults
that have passed without error.- Returns:
- The collection of successful
TestResults
-
getFailedTestResults
List<TestResults> getFailedTestResults()Get all the unitTestResults
that have failed.- Returns:
- The collection of failed
TestResults
-
getSkippedTestResults
List<TestResults> getSkippedTestResults()Get all the unitTestResults
that have been skipped (or inconclusive).- Returns:
- The collection of failed
TestResults
- Since:
- 3.2
-