|
||||||||||
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 | |
---|---|
java.lang.String[] |
afterGroups
Deprecated. The list of groups that this configuration method will run after. |
boolean |
afterSuite
Deprecated. If true, the annotated method will be run after all tests in this suite have run. |
boolean |
afterTest
Deprecated. If true, the annotated method will be run after all every test. |
boolean |
afterTestClass
Deprecated. If true, the annotated method will be run after all the tests in the test class have been run. |
boolean |
afterTestMethod
Deprecated. If true, the annotated method will be run after any test method is invoked. |
boolean |
alwaysRun
Deprecated. For before methods (beforeSuite, beforeTest, beforeTestClass and beforeTestMethod, but not beforeGroups): If set to true, this configuration method will be run regardless of what groups it belongs to. |
java.lang.String[] |
beforeGroups
Deprecated. The list of groups that this configuration method will run before. |
boolean |
beforeSuite
Deprecated. If true, the annotated method will be run before this suite starts. |
boolean |
beforeTest
Deprecated. If true, the annotated method will be run before every test. |
boolean |
beforeTestClass
Deprecated. If true, the annotated method will be run after the test class is instantiated and before the test method is invoked. |
boolean |
beforeTestMethod
Deprecated. If true, the annotated method will be run before any test method is invoked. |
java.lang.String[] |
dependsOnGroups
Deprecated. The list of groups this method depends on. |
java.lang.String[] |
dependsOnMethods
Deprecated. The list of methods this method depends on. |
java.lang.String |
description
Deprecated. The description for this method. |
boolean |
enabled
Deprecated. Whether methods on this class/method are enabled. |
java.lang.String[] |
groups
Deprecated. The list of groups this class/method belongs to. |
boolean |
inheritGroups
Deprecated. If true, this @Configuration method will belong to groups specified in the @Test annotation on the class (if any). |
java.lang.String[] |
parameters
Deprecated. Use @Parameters |
public abstract boolean beforeTestClass
public abstract boolean afterTestClass
public abstract boolean beforeTestMethod
public abstract boolean afterTestMethod
public abstract boolean beforeSuite
public abstract boolean afterSuite
public abstract boolean beforeTest
public abstract boolean afterTest
public abstract java.lang.String[] beforeGroups
public abstract java.lang.String[] afterGroups
@Deprecated 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
public abstract boolean alwaysRun
public abstract boolean inheritGroups
public abstract java.lang.String description
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |