TestNG has provided four additional setup/teardown pairs for the suite, test and groups, i.e. @BeforeSuite, @AfterSuite, @BeforeTest, @AfterTest, @BeforeGroup and @AfterGroup, @BeforeMethod and @AfterMethod.
TestNG为套件、测试和组提供了四对额外的装/卸注解，即@BeforeSuite和@AfterSuite，@BeforeTest和@AfterTest，@BeforeGroup和@AfterGroup，@BeforeMethod和@AfterMethod。