Skip to content

Commit 4911ada

Browse files
Editorial changes
1 parent 508e4ce commit 4911ada

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/debugging-testing/testing/testing_greentea.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ The full build process is:
7777

7878
When building an Mbed application, the presence of an `mbed_app.json` file allows you to set or override different configuration settings from libraries and targets. However, because the tests share a common build, this can cause issues when tests have different configurations that affect the OS.
7979

80-
The build system looks for an `mbed_app.json` file in your shared project files (any directory not inside of a `TESTS` folder). If the system finds it, then this configuration file is used for both the non-test code and each test case inside your project's source tree. If there is more than one `mbed_app.json` file in the source tree, then the configuration system will error.
80+
The build system looks for an `mbed_app.json` file in your shared project files (any directory not inside of a `TESTS` folder). If the system finds it, then this configuration file is used for both the non-test code and each test case inside your project's source tree. If there is more than one `mbed_app.json` file in the source tree, then the configuration system will throw an error.
8181

8282
If you need to test with multiple configurations, then you can use the `--app-config` option. This overrides the search for an `mbed_app.json` file and uses the configuration file that you specify for the build.
8383

@@ -150,7 +150,7 @@ To interact with the host test from the device, you can use two functions: `gree
150150
### Creating the host test
151151

152152
This example writes an integration test that sends `hello` to the host and waits until it receives `world`.
153-
Create `host_tests` directory under `mbed-os/TESTS/`, if it does not exist and create a file called `hello_world_tests.py` in the `mbed-os/TESTS/host_tests` folder, and fill it with:
153+
Create an `host_tests` directory under `mbed-os/TESTS/`, if it does not exist and create a file called `hello_world_tests.py` in the `mbed-os/TESTS/host_tests` folder, and fill it with:
154154

155155
```py
156156
from mbed_host_tests import BaseHostTest
@@ -190,7 +190,7 @@ This registers one function you can call from the device: `init`. The function c
190190

191191
### Creating the Greentea test
192192

193-
This example writes the embedded part of this test. Create a new file `main.cpp` under `TESTS/integration/test_case` directory, and fill it with:
193+
This example writes the embedded part of this test. Create a new file `main.cpp` under the `TESTS/integration/test_case` directory, and fill it with:
194194

195195
[![View code](https://www.mbed.com/embed/?url=https://github.com/ARMmbed/mbed-os-snippet-Greentea_Ex_2/tree/v6.0)](https://github.com/ARMmbed/mbed-os-snippet-Greentea_Ex_2/blob/v6.0/main.cpp)
196196

@@ -281,7 +281,7 @@ Test Case:
281281
...
282282
```
283283

284-
After compilation, you can use the `--run-list` argument to list all tests that are ready to be ran.
284+
After compilation, you can use the `--run-list` argument to list all tests that are ready to be run.
285285

286286
### Executing all tests
287287

0 commit comments

Comments
 (0)