2025-07-11 4:34 AM
Dear all,
We are currently working with STM32WB05KZ MCU and developing unit tests for our BLE application utilizing the Unity test framework.
Specifically we are mocking scenarios such as, low-power mode pairing, and other related BLE functionalities enforcing real security measures.
We would greatly appreciate any advice or examples the following:
Thank you for support and guidance!
2025-07-11 5:48 AM
If you already use Unity, I would advise you to add cmock by going to ceedling.
Then you can happily mock away right in the specific testcases without having to explicitly build a harness
https://github.com/ThrowTheSwitch/CMock/blob/master/docs/CMock_Summary.md