com.atlassian.bamboo.build.test
Interface TestCollationService


public interface TestCollationService

Collates TestClassResults and TestCaseResults from the file system after a TaskType execution


Method Summary
 void collateTestResults(TaskContext taskContext, java.lang.String filePattern)
          Collates TestClassResults and TestCaseResults from TaskContext.getWorkingDirectory() using the specified file pattern This method parses in the JUnit format by default.
 void collateTestResults(TaskContext taskContext, java.lang.String filePattern, TestReportCollector testReportCollector)
          Collates TestClassResults and TestCaseResults from TaskContext.getWorkingDirectory() using the specified file pattern You can implement your own TestReportCollector and pass it in to support other reporting formats
 

Method Detail

collateTestResults

void collateTestResults(@NotNull
                        TaskContext taskContext,
                        @NotNull
                        java.lang.String filePattern)
Collates TestClassResults and TestCaseResults from TaskContext.getWorkingDirectory() using the specified file pattern This method parses in the JUnit format by default. To implement support for an alternate reporting format see TestCollationService.collateTestResults(TaskContext, String, TestReportCollector)

Parameters:
taskContext -
filePattern -

collateTestResults

void collateTestResults(@NotNull
                        TaskContext taskContext,
                        @NotNull
                        java.lang.String filePattern,
                        @NotNull
                        TestReportCollector testReportCollector)
Collates TestClassResults and TestCaseResults from TaskContext.getWorkingDirectory() using the specified file pattern You can implement your own TestReportCollector and pass it in to support other reporting formats

Parameters:
taskContext -
filePattern -
testReportCollector -


Copyright © 2011 Atlassian. All Rights Reserved.