net.thucydides.core.reports
Class TestOutcomeLoader

Package class diagram package TestOutcomeLoader
java.lang.Object
  extended by 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.


Constructor Summary
TestOutcomeLoader()
           
 
Method Summary
 List<TestOutcome> loadFrom(File reportDirectory)
          Load the test outcomes from a given directory.
static TestOutcomes testOutcomesIn(File reportsDirectory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestOutcomeLoader

public TestOutcomeLoader()
Method Detail

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.