public class TestOutcomeLoader extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestOutcomeLoader.TestOutcomeLoaderBuilder |
| Constructor and Description |
|---|
TestOutcomeLoader() |
TestOutcomeLoader(EnvironmentVariables environmentVariables) |
TestOutcomeLoader(EnvironmentVariables environmentVariables,
FormatConfiguration formatConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
TestOutcomeLoader |
forFormat(OutcomeFormat format) |
AcceptanceTestLoader |
getOutcomeReporter() |
List<TestOutcome> |
loadFrom(File reportDirectory)
Load the test outcomes from a given directory.
|
static TestOutcomeLoader.TestOutcomeLoaderBuilder |
loadTestOutcomes() |
static TestOutcomes |
testOutcomesIn(File reportsDirectory) |
public TestOutcomeLoader()
@Inject public TestOutcomeLoader(EnvironmentVariables environmentVariables)
public TestOutcomeLoader(EnvironmentVariables environmentVariables, FormatConfiguration formatConfiguration)
public TestOutcomeLoader forFormat(OutcomeFormat format)
public List<TestOutcome> loadFrom(File reportDirectory) throws IOException
reportDirectory - An existing directory that contains the test outcomes in XML or JSON format.IOException - Thrown if the specified directory was invalid.public static TestOutcomeLoader.TestOutcomeLoaderBuilder loadTestOutcomes()
public static TestOutcomes testOutcomesIn(File reportsDirectory) throws IOException
IOExceptionpublic AcceptanceTestLoader getOutcomeReporter()
Copyright © 2011–2014 Wakaleo Consulting. All rights reserved.