-
I am trying to use Ztest for unit and integration testing. I already have some of my application running I want to add the test folder to it which will have the test code but I am unsure how to do it. Is there a sample application which I could use with my current project. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
I would start looking at https://github.com/zephyrproject-rtos/zephyr/blob/main/doc/develop/test/ztest.rst |
Beta Was this translation helpful? Give feedback.
I would start looking at https://github.com/zephyrproject-rtos/zephyr/blob/main/doc/develop/test/ztest.rst
The most basic sample can be seen here: https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/subsys/testsuite/integration/src/main.c