Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.testng.annotations
Interface ITestOrConfiguration

All Superinterfaces:
  IAnnotation, IParameterizable

All Known Subinterfaces:
  IConfigurationAnnotation, ITestAnnotation

    public interface ITestOrConfiguration

extends IParameterizable

This interface captures methods common to @Test and @Configuration Created on Dec 20, 2005

Author:
  Cedric Beust

Method Summary
`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, which will be shown in the reports.
`boolean` | `getEnabled()` Whether methods on this class/method are enabled.
`java.lang.String[]` | `getGroups()` The list of groups this class/method belongs to.
`void` | `setDependsOnGroups(java.lang.String[] groups)`
`void` | `setDependsOnMethods(java.lang.String[] dependsOnMethods)`
`void` | `setDescription(java.lang.String description)`
`void` | `setEnabled(boolean enabled)`
`void` | `setGroups(java.lang.String[] groups)`

Methods inherited from interface org.testng.annotations.IParameterizable
`getParameters`

Method Detail

### getGroups

    java.lang.String[] getGroups()

  The list of groups this class/method belongs to.

### setGroups

    void setGroups(java.lang.String[] groups)

### getDependsOnGroups

    java.lang.String[] getDependsOnGroups()

  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.

### setDependsOnGroups

    void setDependsOnGroups(java.lang.String[] groups)

### getDependsOnMethods

    java.lang.String[] getDependsOnMethods()

  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.

### setDependsOnMethods

    void setDependsOnMethods(java.lang.String[] dependsOnMethods)

### getEnabled

    boolean getEnabled()

  Whether methods on this class/method are enabled.

### setEnabled

    void setEnabled(boolean enabled)

### getDescription

    java.lang.String getDescription()

  The description for this method, which will be shown in the reports.

### setDescription

    void setDescription(java.lang.String description)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD