|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface BeforeGroups
Optional Element Summary | |
---|---|
boolean |
alwaysRun
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[] |
dependsOnGroups
The list of groups this method depends on. |
java.lang.String[] |
dependsOnMethods
The list of methods this method depends on. |
java.lang.String |
description
The description for this method. |
boolean |
enabled
Whether methods on this class/method are enabled. |
java.lang.String[] |
groups
The list of groups this class/method belongs to. |
boolean |
inheritGroups
If true, this @Configuration method will belong to groups specified in the @Test annotation on the class (if any). |
long |
timeOut
The maximum number of milliseconds this method should take. |
java.lang.String[] |
value
The list of groups that this configuration method will run before. |
public abstract java.lang.String[] value
groups()
attribute.
This method is guaranteed to run shortly before the first test method that
belongs to any of these groups is invoked.
public abstract boolean enabled
public abstract java.lang.String[] groups
value()
attribute is defined).
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
public abstract long timeOut
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |