Skip to content

Commit 922e351

Browse files
author
Amanda Butler
authored
Copy edit cli-test-debug.md
Copy edit for consistent tense across docs and minor grammar nits.
1 parent c59970d commit 922e351

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/tools/offline/cli-test-debug.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,27 +193,27 @@ You can specify to only **run** the unit tests by using the `--run` option:
193193
$ mbed unittest --run
194194
```
195195

196-
If you do not specify any of these, `mbed unittest` will build all available unit tests and run them.
196+
If you do not specify any of these, `mbed unittest` builds all available unit tests and runs them.
197197

198198
### Running a subset of tests
199199

200-
You can run a **limited set** of unit tests by using the `-r` or `--regex` option. This takes a regular expression, which it compares against the test names. For example to run all cellular unit tests you can specify:
200+
You can run a **limited set** of unit tests by using the `-r` or `--regex` option. This takes a regular expression, which it compares against the test names. For example, to run all cellular unit tests, you can specify:
201201

202202
```
203203
$ mbed unittest -r cellular
204204
```
205205

206206
### Getting code coverage
207207

208-
You can generate a code coverage report by using the `--coverage` option. For example to create an html report you can specify:
208+
You can generate a code coverage report by using the `--coverage` option. For example, to create an html report, you can specify:
209209

210210
```
211211
$ mbed unittest --coverage html
212212
```
213213

214214
### Creating new unit tests
215215

216-
All unit tests are under `mbed-os/UNITTESTS` directory. You can **generate** the necessary files for a unit test by using the `--new` option. For example to create the files for `rtos/Semaphore.cpp` you can specify:
216+
All unit tests are under the `mbed-os/UNITTESTS` directory. You can **generate** the necessary files for a unit test by using the `--new` option. For example, to create the files for `rtos/Semaphore.cpp`, you can specify:
217217

218218
```
219219
$ mbed unittest --new rtos/Semaphore.cpp

0 commit comments

Comments
 (0)