You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UNITTESTS/README.md
+23-11Lines changed: 23 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
## Unit testing
2
2
3
-
This document describes how to write and test unit tests for Mbed OS. To prevent and solve problems, please see the [troubleshooting](#troubleshooting) section.
3
+
This document describes how to write and test unit tests for Arm Mbed OS. To prevent and solve problems, please see the [troubleshooting](#troubleshooting) section.
4
4
5
5
### Introduction
6
6
@@ -16,7 +16,7 @@ Please install the following dependencies to use Mbed OS unit testing.
16
16
- Python 2.7.x, 3.5 or newer.
17
17
- Pip 10.0 or newer.
18
18
- Gcovr 4.1 or newer.
19
-
- Mbed CLI 1.8.0 or newer.
19
+
-Arm Mbed CLI 1.8.0 or newer.
20
20
21
21
Detailed instructions for supported operating systems are below.
22
22
@@ -30,7 +30,7 @@ Detailed instructions for supported operating systems are below.
30
30
sudo easy_install pip
31
31
```
32
32
33
-
1. Install Gcovr and [Mbed CLI](https://os.mbed.com/docs/latest/tools/arm-mbed-cli.html) with `pip install "gcovr>=4.1" mbed-cli`.
33
+
1. Install Gcovr and [Mbed CLI](https://os.mbed.com/docs/latest/tools/developing-arm-mbed-cli.html) with `pip install "gcovr>=4.1" mbed-cli`.
34
34
35
35
#### Installing dependencies on macOS
36
36
@@ -43,15 +43,15 @@ Detailed instructions for supported operating systems are below.
43
43
sudo easy_install pip
44
44
```
45
45
46
-
1. Install Gcovr and [Mbed CLI](https://os.mbed.com/docs/latest/tools/arm-mbed-cli.html) with `pip install "gcovr>=4.1" mbed-cli`.
46
+
1. Install Gcovr and [Mbed CLI](https://os.mbed.com/docs/latest/tools/developing-arm-mbed-cli.html) with `pip install "gcovr>=4.1" mbed-cli`.
47
47
48
48
#### Installing dependencies on Windows
49
49
50
50
1. Download and install [MinGW-W64](http://mingw-w64.org/).
51
51
1. Download CMake binaries from https://cmake.org/download/, and run the installer.
52
52
1. Download Python 2.7 or Python 3 from https://www.python.org/getit/, and run the installer.
53
53
1. Add MinGW, CMake and Python into system PATH.
54
-
1. Install Gcovr and [Mbed CLI](https://os.mbed.com/docs/latest/tools/arm-mbed-cli.html) with `pip install "gcovr>=4.1" mbed-cli`.
54
+
1. Install Gcovr and [Mbed CLI](https://os.mbed.com/docs/latest/tools/developing-arm-mbed-cli.html) with `pip install "gcovr>=4.1" mbed-cli`.
55
55
56
56
### Test code structure
57
57
@@ -69,7 +69,7 @@ The build system automatically generates names of test suites. The name is const
69
69
70
70
### Unit testing with Mbed CLI
71
71
72
-
Mbed CLI supports unit tests through `mbed test --unittests` command. For information on using Mbed CLI, please see the [CLI documentation in handbook](https://os.mbed.com/docs/latest/tools/arm-mbed-cli.html).
72
+
Mbed CLI supports unit tests through `mbed test --unittests` command. For information on using Mbed CLI, please see the [CLI documentation](https://os.mbed.com/docs/latest/tools/developing-arm-mbed-cli.html).
0 commit comments