public final class Testatoo extends Object
| Modifier and Type | Method and Description |
|---|---|
static Testatoo |
configure(Iterable<TestatooModule> testatooModules)
Configure Testatoo by using given list of modules
|
static Testatoo |
configure(TestatooModule... testatooModules)
Configure Testatoo by using given list of modules
|
static Testatoo |
configure(TestatooModules testatooModules)
Configure Testatoo by using modules provided in this annotation
|
void |
executeTestMethod(org.aopalliance.intercept.MethodInvocation testInvocation)
This method is called for each test invocation.
|
void |
on(Object o,
Method m) |
void |
scheduleTest(Class<?> testClass,
Method testMethod,
Runnable testBlock) |
void |
start()
Starts Testatoo.
|
void |
stop()
Stops Testatoo.
|
public static Testatoo configure(TestatooModules testatooModules)
testatooModules - Annotation containing the module class listpublic static Testatoo configure(TestatooModule... testatooModules)
testatooModules - module listpublic static Testatoo configure(Iterable<TestatooModule> testatooModules)
testatooModules - module listpublic void start()
throws Throwable
Throwablepublic void stop()
throws Throwable
Throwablepublic void executeTestMethod(org.aopalliance.intercept.MethodInvocation testInvocation)
throws Throwable
testInvocation - The test invocationThrowable - Any exception thrown by the tes executionLifeCycleConfigCopyright © 2008-2011 Ovea. All Rights Reserved.