Here is a list of the standard TestNG annotations available for test methods:
- @Test
- @Parameters
- @DataProvider
- @Listeners
- @Factory
- @BeforeSuite and @AfterSuite
- @BeforeTest and @AfterTest
- @BeforeGroups and @AfterGroups
- @BeforeClass and @AfterClass
- @BeforeMethod and @AfterMethod