-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtestng-features.xml
More file actions
77 lines (70 loc) · 2.58 KB
/
Copy pathtestng-features.xml
File metadata and controls
77 lines (70 loc) · 2.58 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
pCloudy Parallel Execution — Pattern 02: By Feature Module
TestNG group-based parallel suite configuration
Each <test> block filters to a specific feature group.
Tests MUST be annotated with @Test(groups = {"feature:auth"}) etc.
Usage:
mvn test -DsuiteFile=testng-features.xml \
-DpCloudyUsername=${PCLOUDY_USERNAME} \
-DpCloudyApiKey=${PCLOUDY_API_KEY}
-->
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite name="pCloudy Feature-Parallel Suite" parallel="tests" thread-count="4" verbose="1">
<!-- ── Slot 1: Authentication + Session ──────────────────── -->
<test name="Auth Feature — Samsung Galaxy S23">
<parameter name="deviceManufacturer" value="Samsung"/>
<parameter name="platformName" value="Android"/>
<parameter name="platformVersion" value="13.0"/>
<groups>
<run>
<include name="feature:auth"/>
</run>
</groups>
<packages>
<package name="com.yourapp.tests"/>
</packages>
</test>
<!-- ── Slot 2: Payments + Transactions ───────────────────── -->
<test name="Payments Feature — Google Pixel 7">
<parameter name="deviceManufacturer" value="Google"/>
<parameter name="platformName" value="Android"/>
<parameter name="platformVersion" value="13.0"/>
<groups>
<run>
<include name="feature:payments"/>
</run>
</groups>
<packages>
<package name="com.yourapp.tests"/>
</packages>
</test>
<!-- ── Slot 3: User Profile + Settings ───────────────────── -->
<test name="Profile Feature — OnePlus 11">
<parameter name="deviceManufacturer" value="OnePlus"/>
<parameter name="platformName" value="Android"/>
<parameter name="platformVersion" value="13.0"/>
<groups>
<run>
<include name="feature:profile"/>
</run>
</groups>
<packages>
<package name="com.yourapp.tests"/>
</packages>
</test>
<!-- ── Slot 4: Search + Discovery ───────────────────────── -->
<test name="Search Feature — Xiaomi 13">
<parameter name="deviceManufacturer" value="Xiaomi"/>
<parameter name="platformName" value="Android"/>
<parameter name="platformVersion" value="13.0"/>
<groups>
<run>
<include name="feature:search"/>
</run>
</groups>
<packages>
<package name="com.yourapp.tests"/>
</packages>
</test>
</suite>