This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52 unit testing

Dear,

is anyone of the Nordic customers here using unit testing in their nRF52 project and would be willing to share an example project/their setup? Would be awesome.

Many thanks, Josef

Parents
  • I have two kind of tests:

    1. Linux host connected to nRF52 using UART, controlling the nRF52 and running Bluez locally to connect over BLE. Everything implemented in Python and the unittest framework.

    2. Mac host connected to nRF52 using UART, controlling the nRF52 and running CoreBluetooth locally to connect over BLE. Testrunner implemented in Python and the unittest framework, CoreBluetooth stuff implemented in objective-c (but controlled by the Python code).

    The nRF52 in this case will be part of a bigger system, and in that system, it will be connected over UART. The protocol used for testing is the same as the one used in the real product. It is a custom simple messaging protocol.

Reply
  • I have two kind of tests:

    1. Linux host connected to nRF52 using UART, controlling the nRF52 and running Bluez locally to connect over BLE. Everything implemented in Python and the unittest framework.

    2. Mac host connected to nRF52 using UART, controlling the nRF52 and running CoreBluetooth locally to connect over BLE. Testrunner implemented in Python and the unittest framework, CoreBluetooth stuff implemented in objective-c (but controlled by the Python code).

    The nRF52 in this case will be part of a bigger system, and in that system, it will be connected over UART. The protocol used for testing is the same as the one used in the real product. It is a custom simple messaging protocol.

Children
No Data
Related