32bitSaviour
32bitSaviour
DIIDevHeads IoT Integration Server
Created by 32bitSaviour on 12/21/2024 in #📦-middleware-and-os
First Contributions to Zephyr Approved for v4.1.0 – Happy to Chat About Testing and Development!
An approach to this would be to have a test directory inside your app that tests functionality that you have declared as a module
<module>
├── module.cmake
└── foo
├── CMakeLists.txt
└── Kconfig
<app>
├── CMakeLists.txt
├── app.overlay
├── prj.conf
├── VERSION
└── src
└── main.c
<module_tests>
├── CMakeLists.txt
├── prj.conf
├── testcase.yaml
└── src
└── main.c
<module>
├── module.cmake
└── foo
├── CMakeLists.txt
└── Kconfig
<app>
├── CMakeLists.txt
├── app.overlay
├── prj.conf
├── VERSION
└── src
└── main.c
<module_tests>
├── CMakeLists.txt
├── prj.conf
├── testcase.yaml
└── src
└── main.c
14 replies