Run unit tests for MY code

Was also my question here, but unfortunately it does not seem to be possible. The recent CMake integration does not support this use case yet. Use an external build tool such as CMake to include the available stubs in the UNITTESTS directory and try building on that.

@ladislas, I’m also working on setting up a unit test system for my code. I looked into Google Mock but as far as I’ve seen it isn’t really suitable for “C-style” C++ code, where the dependencies are not implementations of abstract classes, which is usually the case in Mbed.

I will probably use CppUTest and its accompanying CppUMock, which is mostly aimed at C but written in C++. Therefore IMHO it fits better to lower level code. How is your experience with Google Mock so far?