|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Configuration
Configuration information for a TestNG class.
| Optional Element Summary | |
|---|---|
boolean |
afterTestClass
If true, the annotated method will be run after all the tests in the test class have been run. |
boolean |
afterTestMethod
If true, the annotated method will be run after any test method is invoked. |
boolean |
beforeTestClass
If true, the annotated method will be run after the test class is instantiated and before the test method is invoked. |
boolean |
beforeTestMethod
If true, the annotated method will be run before any test method is invoked. |
java.lang.String[] |
dependsOnGroups
The list of groups this method depends on. |
java.lang.String[] |
dependsOnMethods
The list of methods this method depends on. |
boolean |
enabled
Whether methods on this class/method are enabled. |
java.lang.String[] |
groups
The list of groups this class/method belongs to. |
java.lang.String[] |
parameters
The list of variables used to fill the parameters of this method. |
public abstract boolean beforeTestClass
public abstract boolean afterTestClass
public abstract boolean beforeTestMethod
public abstract boolean afterTestMethod
public abstract java.lang.String[] parameters
public abstract boolean enabled
public abstract java.lang.String[] groups
public abstract java.lang.String[] dependsOnGroups
public abstract java.lang.String[] dependsOnMethods
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||