Name | Description | Type | Package | Framework |
AfterClass | Class | org.testng.annotations | TestNG | |
AfterGroups | Class | org.testng.annotations | TestNG | |
AfterMethod | Class | org.testng.annotations | TestNG | |
AfterSuite | Class | org.testng.annotations | TestNG | |
AfterTest | Class | org.testng.annotations | TestNG | |
BeforeClass | Class | org.testng.annotations | TestNG | |
BeforeGroups | Class | org.testng.annotations | TestNG | |
BeforeMethod | Class | org.testng.annotations | TestNG | |
BeforeSuite | Class | org.testng.annotations | TestNG | |
BeforeTest | Class | org.testng.annotations | TestNG | |
Configuration | Configuration information for a TestNG class. | Class | org.testng.annotations | TestNG |
DataProvider | Mark a method as supplying data for a test method. | Class | org.testng.annotations | TestNG |
ExpectedExceptions | List of exceptions that a test method is expected to throw. | Class | org.testng.annotations | TestNG |
Factory | Marks a method as a factory that returns objects that will be used by TestNG as Test classes. | Class | org.testng.annotations | TestNG |
Guice | This annotation specifies what Guice modules should be used to instantiateAuthor:Cedric Beust | Class | org.testng.annotations | TestNG |
IConfigurationAnnotation | Encapsulate the @Configuration / @testng. | Interface | org.testng.annotations | TestNG |
IDataProviderAnnotation | Encapsulate the @DataProvider / @testng. | Interface | org.testng.annotations | TestNG |
IExpectedExceptionsAnnotation | Encapsulate the @ExpectedExceptions / @testng. | Interface | org.testng.annotations | TestNG |
IFactoryAnnotation | Encapsulate the @Factory / @testng. | Interface | org.testng.annotations | TestNG |
IParameterizable | Parent interface for annotations that can receive parameters. | Interface | org.testng.annotations | TestNG |
IParametersAnnotation | Encapsulate the @Parameters / @testng. | Interface | org.testng.annotations | TestNG |
ITestAnnotation | Encapsulate the @Test / @testng. | Interface | org.testng.annotations | TestNG |
ITestOrConfiguration | This interface captures methods common to @Test and @Configuration Created on Dec 20, 2005 | Interface | org.testng.annotations | TestNG |
Listeners | This annotation lets you define listeners directly on a test class instead of doing so in your testng. | Class | org.testng.annotations | TestNG |
Optional | Specifies that the current parameter is optional. | Class | org.testng.annotations | TestNG |
Parameters | Describes how to pass parameters to a @Test method. | Class | org.testng.annotations | TestNG |
Test | Mark a class or a method as part of the test. | Class | org.testng.annotations | TestNG |