Package org.eclipse.epsilon.eunit.junit
Interface IEUnitSuite
public interface IEUnitSuite
Base interface that must be implemented by all test suites using the
EclipseEUnitTestRunner
.-
Method Summary
Modifier and TypeMethodDescriptionReturns the URI of the main .eunit script to be run.Returns an operation contributor which can provide additional global functions through its methods.Returns the list of the models that should be used for the next test.
-
Method Details
-
getOperationContributor
OperationContributor getOperationContributor()Returns an operation contributor which can provide additional global functions through its methods. This operation is optional: if desired, users may simply returnnull
if they do not need this functionality. A custom operation contributor can be useful if we need to run tasks in another model-handling language, as the Ant tasks are not easy to use from a JUnit Plug-in Test. -
getModuleURI
Returns the URI of the main .eunit script to be run.- Throws:
Exception
-
prepareModels
Returns the list of the models that should be used for the next test. These models should be reloaded in every call to this method, in order to ensure that each EUnit test is isolated from the rest.- Throws:
Exception
-