org.testng.annotations
Annotation Type Guice
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Guice
This annotation specifies what Guice modules should be used to instantiate
this test class.
- Author:
- Cedric Beust
modules
public abstract java.lang.Class<? extends com.google.inject.Module>[] modules
- Returns:
- the list of modules to query when trying to create an instance of this test class.
- Default:
- {}
moduleFactory
public abstract java.lang.Class<? extends IModuleFactory> moduleFactory
- Default:
- org.testng.IModuleFactory.class
Copyright © 2011. All Rights Reserved.