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

java.lang.Objectnet.thucydides.core.reports.ReportService
public class ReportService
Generates different Thucydides reports in a given output directory.
| Constructor Summary | |
|---|---|
ReportService(Configuration configuration)
|
|
ReportService(File outputDirectory,
Collection<AcceptanceTestReporter> subscribedReporters)
Reports are generated using the test results in a given directory. |
|
| Method Summary | |
|---|---|
void |
generateReportsFor(List<TestOutcome> testOutcomeResults)
A test runner can generate reports via Reporter instances that subscribe to the test runner. |
static List<AcceptanceTestReporter> |
getDefaultReporters()
The default reporters applicable for standard test runs. |
List<AcceptanceTestReporter> |
getSubscribedReporters()
|
void |
setOutputDirectory(File outputDirectory)
|
void |
subscribe(AcceptanceTestReporter reporter)
|
void |
useQualifier(String qualifier)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject public ReportService(Configuration configuration)
public ReportService(File outputDirectory,
Collection<AcceptanceTestReporter> subscribedReporters)
outputDirectory - Where the test data is stored, and where the generated reports will go.subscribedReporters - A set of reporters that generate the actual reports.| Method Detail |
|---|
public void setOutputDirectory(File outputDirectory)
public List<AcceptanceTestReporter> getSubscribedReporters()
public void subscribe(AcceptanceTestReporter reporter)
public void useQualifier(String qualifier)
public void generateReportsFor(List<TestOutcome> testOutcomeResults)
testOutcomeResults - A list of test outcomes to use in report generation.
These may be stored in memory (e.g. by a Listener instance) or read from the XML
test results.public static List<AcceptanceTestReporter> getDefaultReporters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||