You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "problem" I see is that while mocking seems to be integrated (At least for some components) on esp-idf, I haven't been able to find a working example on how to use these mocking capabilities. I have read the documentation, on both esp-idf and CMock, the problem is how to go from that, to include tests that rely on mocking to an existent project. Esp-idf uses CMake, but not in the "traditional" way I have seen in other projects, so how to do this doesn't seem trivial.
Describe the solution you'd like.
I'd like to see a working project example, like many on the examples folder of esp-idf and were of GREAT HELP. But defining tests that use mocking. FreeRTOS mocking alone would be a huge added value, since you can test through software alone task interaction logic for complex applications.
Describe alternatives you've considered.
Since I have been unable to integrate mocking natively, I have been considering on using Ceedling as a nested isolated project, and doing the mocking myself. But I am not so familiar with Ceedling so I'd need more time to achieve this.
Additional context.
No response
The text was updated successfully, but these errors were encountered:
Fo-Zi
changed the title
Add "out-of-the-box" working example of FreeRTOS and other components Mocking
Mocking: Add "out-of-the-box" working example of FreeRTOS and other components
Dec 20, 2024
github-actionsbot
changed the title
Mocking: Add "out-of-the-box" working example of FreeRTOS and other components
Mocking: Add "out-of-the-box" working example of FreeRTOS and other components (IDFGH-14274)
Dec 20, 2024
Is your feature request related to a problem?
The "problem" I see is that while mocking seems to be integrated (At least for some components) on esp-idf, I haven't been able to find a working example on how to use these mocking capabilities. I have read the documentation, on both esp-idf and CMock, the problem is how to go from that, to include tests that rely on mocking to an existent project. Esp-idf uses CMake, but not in the "traditional" way I have seen in other projects, so how to do this doesn't seem trivial.
Describe the solution you'd like.
I'd like to see a working project example, like many on the examples folder of esp-idf and were of GREAT HELP. But defining tests that use mocking. FreeRTOS mocking alone would be a huge added value, since you can test through software alone task interaction logic for complex applications.
Describe alternatives you've considered.
Since I have been unable to integrate mocking natively, I have been considering on using Ceedling as a nested isolated project, and doing the mocking myself. But I am not so familiar with Ceedling so I'd need more time to achieve this.
Additional context.
No response
The text was updated successfully, but these errors were encountered: