@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Configuration
Modifier and Type | Optional Element and Description |
---|---|
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.
|
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.
|
String[] |
dependsOnGroups
Deprecated.
The list of groups this method depends on.
|
String[] |
dependsOnMethods
Deprecated.
The list of methods this method depends on.
|
String |
description
Deprecated.
The description for this method.
|
boolean |
enabled
Deprecated.
Whether methods on this class/method are enabled.
|
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).
|
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 String[] beforeGroups
public abstract String[] afterGroups
@Deprecated public abstract String[] parameters
public abstract boolean enabled
public abstract String[] groups
public abstract String[] dependsOnGroups
public abstract String[] dependsOnMethods
public abstract boolean alwaysRun
public abstract boolean inheritGroups
public abstract String description
Copyright © 2013. All Rights Reserved.