Sorry, to answer my own question the 'test' app in apache-mynewt-core show how tests can be run on native HW.

On 06/10/16 00:16, Kevin Townsend wrote:
Hi Sterling,

Are you able to run the unit tests on real HW via newt to pipe the results back to the console? That would probably remove the need to 'mock' peripherals in most cases, and be a significantly easier way to run a set of tests that have specific HW requirements, such as BLE which isn't available in the simulator today (understandably). Or are the unit tests currently limited to the simulator running as a native binary? The latter was my understanding but I haven't dug very deeply into it either.

Using the native BLE HW on OS X or via Bluez with the simulator would of course be /amazing/, but I think there are a WHOLE LOT of other higher priority features to add before that. :)

K.


Reply via email to