net.thucydides.core.reports
Class TestOutcomeLoader
java.lang.Object
net.thucydides.core.reports.TestOutcomeLoader
public class TestOutcomeLoader
- extends Object
Loads test outcomes from a given directory, and reports on their contents.
This class is used for aggregate reporting.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestOutcomeLoader
public TestOutcomeLoader()
loadFrom
public List<TestOutcome> loadFrom(File reportDirectory)
throws IOException
- Load the test outcomes from a given directory.
- Parameters:
reportDirectory - An existing directory that contains the test outcomes in XML format.
- Returns:
- The full list of test outcomes.
- Throws:
IOException - Thrown if the specified directory was invalid.
testOutcomesIn
public static TestOutcomes testOutcomesIn(File reportsDirectory)
throws IOException
- Throws:
IOException
Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.