Skip to content

Commit 8570905

Browse files
committed
testing: added empty test results
Signed-off-by: Andrei Popa <andrei.popa@analog.com>
1 parent a3a7c43 commit 8570905

40 files changed

+21138
-0
lines changed

testing_results/testing_results_v2.0.0/general/core/add_dev_tests.rst

Lines changed: 545 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 274 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,274 @@
1+
.. _connection_tests:
2+
3+
Connection flow
4+
===============
5+
6+
.. note::
7+
8+
User guide: :ref:`Scopy Overview <user_guide>`.
9+
10+
.. note::
11+
.. list-table::
12+
:widths: 50 30 30 50 50
13+
:header-rows: 1
14+
15+
* - Tester
16+
- Test Date
17+
- Scopy version
18+
- Plugin version (N/A if not applicable)
19+
- Comments
20+
* -
21+
-
22+
-
23+
-
24+
-
25+
26+
Setup environment:
27+
------------------
28+
29+
.. _m2k-emu-conn:
30+
31+
**M2k.Emu:**
32+
- Open Scopy.
33+
- Start the iio-emu process using "adalm2000" in the dropdown and
34+
"ip:127.0.0.1" as URI.
35+
- Add the device in device browser.
36+
37+
.. _m2k-usb-conn:
38+
39+
**M2k.Usb:**
40+
- Open Scopy.
41+
- Connect an **ADALM2000** device to the system by USB.
42+
- Add the device in device browser.
43+
44+
.. _tst-conn-succ:
45+
46+
Test 1: Verify the connection flow.
47+
-----------------------------------
48+
49+
**UID:** TST.CONN.SUCC
50+
51+
**Description:** This test checks if the **Connect** button works correctly.
52+
53+
**Test prerequisites:**
54+
- :ref:`TST.ADD.PLUGINS_ADD_SINGLE <tst-add-plugins-add>`
55+
56+
**Preconditions:**
57+
- Scopy is installed on the system.
58+
- iio-emu is installed in the system.
59+
- Use :ref:`M2k.Emu <m2k-emu-conn>` setup.
60+
- OS: ANY.
61+
62+
**Steps:**
63+
1. Click on the device icon from device browser.
64+
2. Click on **Connect** button.
65+
- **Expected result:** The **Disconnect** button appears, a status LED
66+
is displayed under the icon in the device browser, and a progress bar
67+
appears in the application's status bar. After a while, the connection
68+
is established, the status LED turns green, and the tools in the menu
69+
become accessible.
70+
- **Actual result:**
71+
72+
..
73+
Actual test result goes here.
74+
..
75+
76+
**Tested OS:**
77+
78+
..
79+
Details about the tested OS goes here.
80+
81+
**Comments:**
82+
83+
..
84+
Any comments about the test goes here.
85+
86+
**Result:** PASS/FAIL
87+
88+
..
89+
The result of the test goes here (PASS/FAIL).
90+
91+
92+
Test 2: Unplug the device while connecting (AUTO-SCAN).
93+
-------------------------------------------------------
94+
95+
**UID:** TST.CONN.UNPLUG_AUTO
96+
97+
**Description:** This test verifies Scopy's behavior when the device is
98+
unplugged during the connection process.
99+
100+
**Test prerequisites:**
101+
- :ref:`TST.HP.AUTO_SCAN_ON <tst-hp-auto-scan-on>`.
102+
103+
**Preconditions:**
104+
- Scopy is installed on the system.
105+
- The "Regularly scan for new devices" preference is enabled in the
106+
preferences page.
107+
- Use :ref:`M2k.Usb <m2k-usb-conn>` setup.
108+
- OS: ANY.
109+
110+
**Steps:**
111+
1. Click on the device icon from device browser.
112+
2. Click on **Connect** button.
113+
3. Unplug the device while connecting.
114+
- **Expected result:** The device is removed from device browser.
115+
- **Actual result:**
116+
117+
..
118+
Actual test result goes here.
119+
..
120+
121+
**Tested OS:**
122+
123+
..
124+
Details about the tested OS goes here.
125+
126+
**Comments:**
127+
128+
..
129+
Any comments about the test goes here.
130+
131+
**Result:** PASS/FAIL
132+
133+
..
134+
The result of the test goes here (PASS/FAIL).
135+
136+
137+
Test 3: Unplug the device while connecting (MANUAL-SCAN).
138+
---------------------------------------------------------
139+
140+
**UID:** TST.CONN.UNPLUG_AUTO
141+
142+
**Description:** This test verifies Scopy's behavior when the device is
143+
unplugged during the connection process.
144+
145+
**Test prerequisites:**
146+
- :ref:`TST.HP.MANUAL_SCAN <tst-hp-manual-scan>`.
147+
148+
**Preconditions:**
149+
- Scopy is installed on the system.
150+
- The "Regularly scan for new devices" preference is disabled in the
151+
preferences page.
152+
- Use :ref:`M2k.Usb <m2k-usb-conn>` setup.
153+
- OS: ANY.
154+
155+
**Steps:**
156+
1. Click on the device icon from device browser.
157+
2. Click on **Connect** button.
158+
3. Unplug the device while connecting.
159+
- **Expected result:** A warning icon appears in the top-right corner
160+
of the device in the device browser, and when hovered over, the
161+
message "The device is not available! Verify the connection!" is
162+
displayed.
163+
- **Actual result:**
164+
165+
..
166+
Actual test result goes here.
167+
..
168+
169+
**Tested OS:**
170+
171+
..
172+
Details about the tested OS goes here.
173+
174+
**Comments:**
175+
176+
..
177+
Any comments about the test goes here.
178+
179+
**Result:** PASS/FAIL
180+
181+
..
182+
The result of the test goes here (PASS/FAIL).
183+
184+
185+
Test 4: Unplug the device before connecting.
186+
--------------------------------------------
187+
188+
**UID:** TST.CONN.UNPLUG_BEFORE
189+
190+
**Description:** This test verifies Scopy's behavior when the device is
191+
unplugged before the connection process.
192+
193+
**Test prerequisites:**
194+
- :ref:`TST.HP.MANUAL_SCAN <tst-hp-manual-scan>`.
195+
196+
**Preconditions:**
197+
- Scopy is installed on the system.
198+
- The "Regularly scan for new devices" preference is disabled in the
199+
preferences page.
200+
- Use :ref:`M2k.Usb <m2k-usb-conn>` setup.
201+
- OS: ANY.
202+
203+
**Steps:**
204+
1. Click on the device icon from device browser.
205+
2. Unplug the device.
206+
3. Click on **Connect** button.
207+
- **Expected result:** The connection process starts but does not
208+
complete. A warning icon appears in the top-right corner.
209+
- **Actual result:**
210+
211+
..
212+
Actual test result goes here.
213+
..
214+
215+
**Tested OS:**
216+
217+
..
218+
Details about the tested OS goes here.
219+
220+
**Comments:**
221+
222+
..
223+
Any comments about the test goes here.
224+
225+
**Result:** PASS/FAIL
226+
227+
..
228+
The result of the test goes here (PASS/FAIL).
229+
230+
231+
Test 5: Disconnecting a device.
232+
-------------------------------
233+
234+
**UID:** TST.CONN.DISCONN
235+
236+
**Description:** This test checks if the **Disconnect** button works correctly.
237+
238+
**Test prerequisites:**
239+
- :ref:`TST.CONN.SUCC <tst-conn-succ>`.
240+
241+
**Preconditions:**
242+
- Scopy is installed on the system.
243+
- iio-emu is installed in the system.
244+
- Use :ref:`M2k.Emu <m2k-emu-conn>` setup.
245+
- OS: ANY.
246+
247+
**Steps:**
248+
1. Click on the device icon from device browser.
249+
2. Click on **Connect** button.
250+
3. Wait until the connection is done .
251+
4. Click on **Disconnect** button.
252+
- **Expected result:** The device is disconnected, the **Connect**
253+
button appears, the device remains in the device browser, and the
254+
tools in the menu are no longer accessible.
255+
- **Actual result:**
256+
257+
..
258+
Actual test result goes here.
259+
..
260+
261+
**Tested OS:**
262+
263+
..
264+
Details about the tested OS goes here.
265+
266+
**Comments:**
267+
268+
..
269+
Any comments about the test goes here.
270+
271+
**Result:** PASS/FAIL
272+
273+
..
274+
The result of the test goes here (PASS/FAIL).

0 commit comments

Comments
 (0)