-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathtestng.xml
83 lines (79 loc) · 2.57 KB
/
testng.xml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="API Test Suite">
<listeners>
<listener
class-name="com.faisalkhatri.okhttppoc.TestListener" />
</listeners>
<test name="AllTests">
<classes>
<class name="com.faisalkhatri.okhttppoc.TestAuthentication">
<methods>
<include name="testAuthenticationToken" />
<include name="testAuthToken" />
</methods>
</class>
<class name="com.faisalkhatri.okhttppoc.TestGetRequests">
<methods>
<include name="testGetRequestWithQueryParamOkHttp" />
<include name="testGetRequestWithOkHttp" />
<include name="testGetRequestWithQueryParamWithRestAssured" />
<include name="testGetRequestWithRestAssured" />
</methods>
</class>
<class name="com.faisalkhatri.okhttppoc.TestGetRequestWithRestAssuredConfig">
<methods>
<include name="testGetRequestwithRestAssured" />
</methods>
</class>
<class name="com.faisalkhatri.okhttppoc.TestPostRequest">
<methods>
<include name="testPostWithOkHttp" />
<include name="testPostWithRestAssured" />
<include name="testPostwithOkHttpForm" />
</methods>
</class>
<class name="com.faisalkhatri.okhttppoc.TestPostRequestBuilderExample">
<methods>
<include name="postUsingBuilderPatternWithRestAssured" />
</methods>
</class>
<class name="com.faisalkhatri.okhttppoc.TestPutRequests">
<methods>
<include name="testPutWithOkHttp" />
<include name="testPutWithRestAssured" />
</methods>
</class>
<class name="com.faisalkhatri.okhttppoc.TestPatchRequests">
<methods>
<include name="testPatchWithOkHttp" />
<include name="testPatchWithRestAssured" />
</methods>
</class>
<class name="com.faisalkhatri.okhttppoc.TestDeleteRequests">
<methods>
<include name="testDeleteUsingOkHttp" />
<include name="testDeleUsingRestAsured" />
</methods>
</class>
</classes>
</test> <!-- Test -->
<test name="GetTests" enabled="false">
<groups>
<run>
<include name="GetTests" />
<include name="PostTests" />
<include name="PutTests" />
<include name="PatchTests" />
<include name="DeleteTests" />
</run>
</groups>
<classes>
<class name="com.faisalkhatri.okhttppoc.TestGetRequests" />
<class name="com.faisalkhatri.okhttppoc.TestPostRequest" />
<class name="com.faisalkhatri.okhttppoc.TestPutRequests" />
<class name="com.faisalkhatri.okhttppoc.TestPatchRequests" />
<class name="com.faisalkhatri.okhttppoc.TestDeleteRequests" />
</classes>
</test>
</suite> <!-- Suite -->