-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTest0.java
More file actions
39 lines (31 loc) · 751 Bytes
/
Test0.java
File metadata and controls
39 lines (31 loc) · 751 Bytes
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
package testng;
import org.testng.Reporter;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
public class Test0 {
@BeforeMethod(alwaysRun = true)
public void login() {
Reporter.log("login",true);
}
@AfterMethod(alwaysRun = true)
public void logout() {
Reporter.log("logout",true);
}
@Test(groups="createCustomer")
public void createCustomer() {
Reporter.log("createcustomer",true);
}
@Test(groups="createproject")
public void createProject() {
Reporter.log("createproject",true);
}
@Test
public void deletecustomer() {
Reporter.log("deletecustomer",true);
}
@Test
public void deleteproject() {
Reporter.log("deleteproject",true);
}
}