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 unitTestResultsthat have failed.Get all the unitTestResultsthat have been skipped (or inconclusive).Get all the unitTestResultsthat have passed without error.
-
Method Details
-
getSuccessfulTestResults
List<TestResults> getSuccessfulTestResults()Get all the unitTestResultsthat have passed without error.- Returns:
- The collection of successful
TestResults
-
getFailedTestResults
List<TestResults> getFailedTestResults()Get all the unitTestResultsthat have failed.- Returns:
- The collection of failed
TestResults
-
getSkippedTestResults
List<TestResults> getSkippedTestResults()Get all the unitTestResultsthat have been skipped (or inconclusive).- Returns:
- The collection of failed
TestResults - Since:
- 3.2
-