Understanding Ztest and Test Execution for Zephyr

Pandey, Mithun

HI all,


I was going through the test documentation under https://github.com/zephyrproject-rtos/zephyr/blob/main/doc/guides/test/ztest.rst

Is there any more documentation available regarding understanding Ztest framework, and also the testcase.yaml and other files available to define the test scenarios.


I am also trying to understand the way these test cases are executed, based on the GitHub actions, it looks like the tests are only running on the QEMU emulator on ubuntu VMs.

But seeing the test reports it looks like the Test are also running for different architectures under different boards on HW also.


How are the tests on HW getting executed and triggered for each pull requests ? any pointers in this area will be helpful.


Thanks and Regards




Join {users@lists.zephyrproject.org to automatically receive all group messages.