public interface IBaseBeforeAfter extends ITestOrConfiguration
Modifier and Type | Method and Description |
---|---|
boolean |
getAlwaysRun()
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[] |
getDependsOnGroups()
The list of groups this method depends on.
|
java.lang.String[] |
getDependsOnMethods()
The list of methods this method depends on.
|
java.lang.String |
getDescription()
The description for this method.
|
boolean |
getEnabled()
Whether methods on this class/method are enabled.
|
java.lang.String[] |
getGroups()
The list of groups this class/method belongs to.
|
boolean |
getInheritGroups()
If true, this @Configuration method will belong to groups specified in the @Test
annotation on the class (if any).
|
getTimeOut, setDependsOnGroups, setDependsOnMethods, setDescription, setGroups, setTimeOut
setEnabled
boolean getEnabled()
getEnabled
in interface IParameterizable
java.lang.String[] getGroups()
getGroups
in interface ITestOrConfiguration
java.lang.String[] getDependsOnGroups()
getDependsOnGroups
in interface ITestOrConfiguration
java.lang.String[] getDependsOnMethods()
If some of these methods have been overloaded, all the overloaded versions will be run.
getDependsOnMethods
in interface ITestOrConfiguration
boolean getAlwaysRun()
boolean getInheritGroups()
java.lang.String getDescription()
getDescription
in interface ITestOrConfiguration