-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBaseTestSuite.java
41 lines (33 loc) · 910 Bytes
/
BaseTestSuite.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package base;
import org.testng.annotations.AfterClass;
import org.testng.annotations.AfterSuite;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.BeforeSuite;
import org.testng.annotations.BeforeTest;
public class BaseTestSuite {
@BeforeClass
public void beforeClass() {
System.out.println("\nBaseTestSuite -> before class");
}
@AfterClass
public void afterClass() {
System.out.println("\nBaseTestSuite -> after class");
}
@BeforeTest
public void beforeTest() {
System.out.println("\nBaseTestSuite -> before test");
}
@AfterTest
public void afterTest() {
System.out.println("\nBaseTestSuite -> after test");
}
@BeforeSuite
public void beforeSuite() {
System.out.println("\nBaseTestSuite -> before suite");
}
@AfterSuite
public void afterSuite() {
System.out.println("\nBaseTestSuite -> after suite");
}
}