mbed-os/features/FEATURE_BLE/tests
Vincent Coubard 871ebb6708 BLE: Add host test instructions. 2018-02-27 11:19:59 +00:00
..
generic/GattClient BLE: Improve generic gatt client tests documentation. 2018-02-27 11:15:48 +00:00
mbed_os_stub BLE: Add unit test for the Generic GattClient. 2018-02-13 17:01:25 +00:00
CMakeLists.txt BLE: Add unit test for the Generic GattClient. 2018-02-13 17:01:25 +00:00
CMakeLists.txt.in BLE: Add unit test for the Generic GattClient. 2018-02-13 17:01:25 +00:00
README.md BLE: Add host test instructions. 2018-02-27 11:19:59 +00:00

README.md

mbed BLE host tests

This folder contains tests for mbed BLE that can be run on an x86 host.

Getting started

Run the following instructions to build the tests:

cd features/FEATURE_BLE/tests
mkdir build
cd build
cmake ..
make

The various tests applications are present at the root of the test folder; execute them to run the tests. As an examples gatt client related tests can be run with:

./gatt-client-tests

Requirements

These tests requires cmake on the host and a compliant C++14 compiler.

Resources

These tests use extensively google test (gtest) and google mock. Please refer to the documentation of each products to get more insight: