File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ '''
2+ What to test for comms module?
3+
4+ get_connected_nordic_boards
5+ * both device and hwid need to be emulated
6+ * macos doesn't provide hwid
7+ * empty list
8+ * some non-nordic comports
9+ * some nordic comports on mac, linux and windows ()
10+ * test both Thingy91x and JLink based kits
11+
12+ select_jlink
13+ * mock cases for no, one and multiple jlinks
14+ * figure out how to test with inquirer (can we emulate prompt answers?)
15+
16+ select_device_by_serial
17+ similar to the above
18+
19+ select_device
20+ * rtt enabled with and without snr
21+ * port given
22+ * serial number given
23+ * list all
24+ * no list-all, select from nordic devices: zero, one, two devices
25+
26+ test with emulated serial device
27+ * _init_serial
28+ * close
29+ * expect_response
30+ * reset_device: expect error
31+ * write_line
32+ * _readline_serial: returns stripped string, not bytes
33+ * _write_serial: blank forward
34+
35+ test with emulated rtt device
36+ * _init_rtt
37+ * close
38+ * expect_response
39+ * reset_device
40+ * _readline_rtt: internal line buffering
41+ * _write_rtt: chopping up of data
42+
43+ '''
You can’t perform that action at this time.
0 commit comments