com.atlassian.bamboo.build.test
Interface TestReportCollector

All Known Implementing Classes:
JunitTestReportCollector, TestNGTestReportCollector

@ThreadSafe
@PublicApi
public interface TestReportCollector

Collects a builds test results. To be used in conjunction with TestCollationService.collateTestResults(TaskContext, String, TestReportCollector).


Method Summary
 TestCollectionResult collect(File file)
          Collect all the results within the specified file
 Set<String> getSupportedFileExtensions()
          The valid file extension(s) of the test report file.
 

Method Detail

collect

@NotNull
TestCollectionResult collect(@NotNull
                                     File file)
                             throws Exception
Collect all the results within the specified file

Parameters:
file -
Returns:
testReportCollectorResult
Throws:
Exception - if a problem with processing the given file has occurred

getSupportedFileExtensions

@NotNull
Set<String> getSupportedFileExtensions()
The valid file extension(s) of the test report file. Return empty Set if all extensions are supported.

Returns:
supportedFileExtensions


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.