| org.testng.annotations.AfterSuite
AfterSuite | public @interface AfterSuite(Code) | | |
Field Summary | |
public 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. | public String[] | dependsOnGroups The list of groups this method depends on. | public String[] | dependsOnMethods The list of methods this method depends on. | public String | description The description for this method. | public boolean | enabled Whether methods on this class/method are enabled. | public String[] | groups The list of groups this class/method belongs to. | public boolean | inheritGroups If true, this @Configuration method will belong to groups specified in the
@Test annotation on the class (if any). |
alwaysRun | public boolean alwaysRun(Code) | | 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.
For after methods (afterSuite, afterClass, ...):
If set to true, this configuration method will be run
even if one or more methods invoked previously failed or
was skipped.
|
dependsOnGroups | public String[] dependsOnGroups(Code) | | The list of groups this method depends on. Every method
member of one of these groups is guaranteed to have been
invoked before this method. Furthermore, if any of these
methods was not a SUCCESS, this test method will not be
run and will be flagged as a SKIP.
|
dependsOnMethods | public String[] dependsOnMethods(Code) | | The list of methods this method depends on. There is no guarantee
on the order on which the methods depended upon will be run, but you
are guaranteed that all these methods will be run before the test method
that contains this annotation is run. Furthermore, if any of these
methods was not a SUCCESS, this test method will not be
run and will be flagged as a SKIP.
If some of these methods have been overloaded, all the overloaded
versions will be run.
|
description | public String description(Code) | | The description for this method. The string used will appear in the
HTML report and also on standard output if verbose >= 2.
|
enabled | public boolean enabled(Code) | | Whether methods on this class/method are enabled.
|
groups | public String[] groups(Code) | | The list of groups this class/method belongs to.
|
inheritGroups | public boolean inheritGroups(Code) | | If true, this @Configuration method will belong to groups specified in the
@Test annotation on the class (if any).
|
|
|