Package net.thucydides.core.reports
Class TestOutcomeLoader
java.lang.Object
net.thucydides.core.reports.TestOutcomeLoader
Loads test outcomes from a given directory, and reports on their contents.
This class is used for aggregate reporting.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionforFormat(OutcomeFormat format) Load the test outcomes from a given directory, sorted by Titlestatic TestOutcomestestOutcomesIn(File reportsDirectory)
-
Constructor Details
-
TestOutcomeLoader
public TestOutcomeLoader() -
TestOutcomeLoader
-
-
Method Details
-
forFormat
-
loadFrom
Load the test outcomes from a given directory, sorted by Title- Parameters:
reportDirectory- An existing directory that contains the test outcomes in XML or JSON format.- Returns:
- The full list of test outcomes.
- Throws:
ReportLoadingFailedError- Thrown if the specified directory was invalid or loading finished with error.
-
loadTestOutcomes
-
testOutcomesIn
- Throws:
IOException
-