IAnnotation, IParameterizable, ITestOrConfigurationIAfterClass, IAfterGroups, IAfterMethod, IAfterSuite, IAfterTest, IAfterTests, IBeforeClass, IBeforeGroups, IBeforeMethod, IBeforeSuite, IBeforeTestAfterSuiteAnnotation, BaseBeforeAfter, BeforeSuiteAnnotation, ConfigurationAnnotationpublic interface IBaseBeforeAfter extends ITestOrConfiguration
| Modifier and Type | Method | 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).
|
getParameters, setEnabledgetTimeOut, setDependsOnGroups, setDependsOnMethods, setDescription, setGroups, setTimeOutboolean getEnabled()
getEnabled in interface IParameterizablejava.lang.String[] getGroups()
getGroups in interface ITestOrConfigurationjava.lang.String[] getDependsOnGroups()
getDependsOnGroups in interface ITestOrConfigurationjava.lang.String[] getDependsOnMethods()
getDependsOnMethods in interface ITestOrConfigurationboolean getAlwaysRun()
boolean getInheritGroups()
java.lang.String getDescription()
getDescription in interface ITestOrConfiguration