org.jtiger.framework
Interface FixturesRunnerConfig

All Superinterfaces:
Serializable

public interface FixturesRunnerConfig
extends Serializable

Represents the configuration for a test execution.

Version:
2.1
Build Number 0376
Build Time 2006-07-28 01:50.16.218 CET (GMT + 1)
Author:
Tony Morris
See Also:
FixturesRunnerConfigFactory, FixturesRunner.run(FixturesRunnerConfig)

Method Summary
 ReadOnlyArray<String> getCategories()
          Returns regular expressions representing the categories to execute during the test run.
 Class<? extends TestDefinition> getDefinitionClass()
          Returns the type that defines a test.
 ReadOnlyArray<Class<?>> getFixtureClasses()
          Returns the test fixture classes to run during test execution.
 Class<? extends SetUpTearDown> getSutdClass()
          Returns the type that executes test case set up and tear down.
 boolean isHaltOnFailure()
          Returns true if the test run is to halt execution when a test case gives a result of TestResultType.FAILURE, TestResultType.FAILURE_SETUP, or TestResultType.FAILURE_TEARDOWN, false otherwise.
 

Method Detail

getFixtureClasses

ReadOnlyArray<Class<?>> getFixtureClasses()
Returns the test fixture classes to run during test execution. The fixture classes should have either; a no argument constructor, or a constructor that takes a single java.lang.String argument.

Returns:
The test fixture classes to run during test execution.

getDefinitionClass

Class<? extends TestDefinition> getDefinitionClass()
Returns the type that defines a test. This method may return null. This class should have either; a no argument constructor, or a constructor that takes a single java.lang.String argument.

Returns:
The type that defines a test. This method may return null.

getSutdClass

Class<? extends SetUpTearDown> getSutdClass()
Returns the type that executes test case set up and tear down. This method may return null. This class should have either; a no argument constructor, or a constructor that takes a single java.lang.String argument.

Returns:
The type that executes test case set up and tear down. This method may return null.

isHaltOnFailure

boolean isHaltOnFailure()
Returns true if the test run is to halt execution when a test case gives a result of TestResultType.FAILURE, TestResultType.FAILURE_SETUP, or TestResultType.FAILURE_TEARDOWN, false otherwise.

Returns:
true if the test run is to halt execution when a test case gives a result of TestResultType.FAILURE, TestResultType.FAILURE_SETUP, or TestResultType.FAILURE_TEARDOWN, false otherwise.

getCategories

ReadOnlyArray<String> getCategories()
Returns regular expressions representing the categories to execute during the test run. An empty array represents that all categories should be executed.

Returns:
Regular expressions representing the categories to execute during the test run.