Skip to content

Commit c48edce

Browse files
Editorial changes
1 parent 4911ada commit c48edce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/debugging-testing/testing/unit_testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ The build system automatically generates names of test suites. The name is const
7777

7878
## Unit testing with Mbed CLI
7979

80-
Mbed CLI supports unit tests through `mbed test --unittests` command. To learn how to use unit tests with Mbed CLI, please see the [unit testing documentation section](../build-tools/test-and-debug.html). For other information on using Mbed CLI, please see the [CLI documentation in handbook](../build-tools/mbed-cli.html).
80+
Mbed CLI supports unit tests through the `mbed test --unittests` command. To learn how to use unit tests with Mbed CLI, please see the [unit testing documentation section](../build-tools/test-and-debug.html). For other information on using Mbed CLI, please see the [CLI documentation in handbook](../build-tools/mbed-cli.html).
8181

8282
### Writing unit tests
8383

@@ -253,7 +253,7 @@ Use Mbed CLI to build and run unit tests. For advanced use, you can run CMake an
253253
254254
1. Create a build directory: `mkdir UNITTESTS/build`.
255255
1. Move to the build directory: `cd UNITTESTS/build`.
256-
1. Run CMake using a relative path to `UNITTESTS` folder as the argument. So from `UNITTESTS/build` use `cmake ..`:
256+
1. Run CMake using a relative path to the `UNITTESTS` folder as the argument. So from `UNITTESTS/build` use `cmake ..`:
257257
- Add `-g [generator]` if generating files other than Unix Makefiles. For example, for MinGW, use `-g "MinGW Makefiles"`.
258258
- Add `-DCMAKE_MAKE_PROGRAM=<value>`, `-DCMAKE_CXX_COMPILER=<value>` and `-DCMAKE_C_COMPILER=<value>` to use a specific Make program and compilers.
259259
- Add `-DCMAKE_BUILD_TYPE=Debug` for a debug build.

0 commit comments

Comments
 (0)