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
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
I have two kind of tests:
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.
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.
I have two kind of tests:
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.
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.