Top Description Methods
org.testng.annotations

public @Interface Guice

extends Annotation
Annotations
@Retention:RUNTIME
@Target:TYPE
@Documented
Static Imports
java.lang.annotation.ElementType.TYPE

This annotation specifies what Guice modules should be used to instantiate this test class.

Method Summary

Modifier and TypeMethod and Description
public Class<? extends IModuleFactory>
public Class<? extends Module>[]

Returns:

the list of modules to query when trying to create an instance of this test class.
modules
()

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

moduleFactoryback to summary
public Class<? extends IModuleFactory> moduleFactory()
modulesback to summary
public Class<? extends Module>[] modules()
Returns:Class<? extends Module>[]

the list of modules to query when trying to create an instance of this test class.