com.googlecode.lightest.core
Interface IConfiguration

All Known Implementing Classes:
Configuration

public interface IConfiguration

Represents a configuration of the test run


Method Summary
 groovy.lang.GroovyClassLoader getClassLoader()
          Returns the class loader that was used (or whose equivalent may be used) to load the configuration-related classes.
 List getClassPaths()
          Returns a List of Strings representing class paths under which tasks and potentially environment and preference classes are defined.
 String getContextClass()
          Returns the name of the class to be used as the context class.
 IDispatcherAssignmentStrategy getDispatcherAssignmentStrategy()
           
 List getEnvironments()
          Returns a List of ITestEnvironment instances.
 ILightestReporter getFailedReporter()
           
 List getListeners()
          Returns a list of listener instances to be registered directly with the TestNG runner.
 String getOutputDir()
          Returns the output directory for the test run report.
 ILightestReporter getPendingReporter()
           
 IPreferences getPreferences()
          Returns an instance of the concrete implementation of IPreferences.
 List getReporters()
          Returns a list of reporter instances.
 ITaskDispatchStrategy getTaskDispatchStrategy()
          Returns an instance of the ITaskDispatchStrategy implementation to use instead of whatever implementation is available by default.
 ILightestReporter getXMLReporter()
           
 

Method Detail

getClassLoader

groovy.lang.GroovyClassLoader getClassLoader()
Returns the class loader that was used (or whose equivalent may be used) to load the configuration-related classes.


getClassPaths

List getClassPaths()
Returns a List of Strings representing class paths under which tasks and potentially environment and preference classes are defined. The current directory is added by default.


getOutputDir

String getOutputDir()
Returns the output directory for the test run report.


getEnvironments

List getEnvironments()
Returns a List of ITestEnvironment instances.


getPreferences

IPreferences getPreferences()
Returns an instance of the concrete implementation of IPreferences.


getReporters

List getReporters()
Returns a list of reporter instances. They should implement either org.testng.IReporter or ILightestReporter .


getListeners

List getListeners()
Returns a list of listener instances to be registered directly with the TestNG runner. These should implement ITestNGListener.


getContextClass

String getContextClass()
Returns the name of the class to be used as the context class. This class must be or extend LightestContext.


getXMLReporter

ILightestReporter getXMLReporter()

getPendingReporter

ILightestReporter getPendingReporter()

getFailedReporter

ILightestReporter getFailedReporter()

getDispatcherAssignmentStrategy

IDispatcherAssignmentStrategy getDispatcherAssignmentStrategy()

getTaskDispatchStrategy

ITaskDispatchStrategy getTaskDispatchStrategy()
Returns an instance of the ITaskDispatchStrategy implementation to use instead of whatever implementation is available by default. This method may return null if no custom strategy is specified.



Copyright © 2009. All Rights Reserved.