Skip to content

Commit 871ebb6

Browse files
committed
BLE: Add host test instructions.
1 parent c6bca57 commit 871ebb6

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

features/FEATURE_BLE/tests/README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# mbed BLE host tests
2+
3+
This folder contains tests for mbed BLE that can be run on an x86 host.
4+
5+
## Getting started
6+
7+
Run the following instructions to build the tests:
8+
9+
```
10+
cd features/FEATURE_BLE/tests
11+
mkdir build
12+
cd build
13+
cmake ..
14+
make
15+
```
16+
17+
The various tests applications are present at the root of the test folder;
18+
execute them to run the tests. As an examples gatt client related tests can be
19+
run with:
20+
21+
```
22+
./gatt-client-tests
23+
```
24+
25+
## Requirements
26+
27+
These tests requires cmake on the host and a compliant C++14 compiler.
28+
29+
## Resources
30+
31+
These tests use extensively google test (gtest) and google mock. Please refer to
32+
the documentation of each products to get more insight:
33+
* gtest: https://github.com/google/googletest/tree/master/googletest/docs
34+
* gmock: https://github.com/google/googletest/tree/master/googlemock/docs
35+

0 commit comments

Comments
 (0)