Skip to content

Commit 25c7d07

Browse files
committed
Feedback from @theotherjimmy
1 parent 45f7c9d commit 25c7d07

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/tools/testing/testing_greentea.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ $ mbed new first-greentea-test
8383

8484
As specified above, there is a convention where all tests live in the `TESTS/` directory. In the `first-greentea-test` folder create a folder `TESTS/tests/simple-test/`.
8585

86-
![Exporting to Make](https://s3-us-west-2.amazonaws.com/mbed-os-docs-images/test01.png)
86+
![Tree structure for Greentea tests](https://s3-us-west-2.amazonaws.com/mbed-os-docs-images/test01.png)
8787

8888
In this folder, create a file `main.cpp`. In here you can use UNITY, utest and the Greentea Client to write your test:
8989

@@ -369,10 +369,10 @@ $ mbed test --use-tids 02400203C3423E603EBEC3D8,024002031E031E6AE3FFE3D2
369369
370370
Where `02400203C3423E603EBEC3D8` and `024002031E031E6AE3FFE3D` are the target IDs of platforms attached to your system.
371371
372-
You can view target IDs using the [`mbed-ls`](https://github.com/ARMmbed/mbed-os-tools/tree/master/packages/mbed-ls) tool (installed with Greentea).
372+
You can view target IDs using Mbed CLI:
373373
374374
```
375-
$ mbedls
375+
$ mbed detect
376376
+--------------+---------------------+------------+------------+-------------------------+
377377
|platform_name |platform_name_unique |mount_point |serial_port |target_id |
378378
+--------------+---------------------+------------+------------+-------------------------+
@@ -381,6 +381,7 @@ $ mbedls
381381
|LPC1768 |LPC1768[0] |G: |COM5 |1010ac87cfc4f23c4c57438d |
382382
+--------------+---------------------+------------+------------+-------------------------+
383383
```
384+
384385
In this case, you won't test one target, the LPC1768.
385386
386387
#### Creating reports

0 commit comments

Comments
 (0)