CONFIG_ZTEST_MOCKING
Mocking support functions
Type: bool
Help
Enable mocking support for Ztest. This allows the test to set
return values and expected parameters to functions.
Defaults
No defaults. Implicitly defaults to n
.
Kconfig definition
At <Zephyr>/subsys/testsuite/ztest/Kconfig:78
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:44
→ <Zephyr>/subsys/Kconfig:61
→ <Zephyr>/subsys/testsuite/Kconfig:6
Menu path: (Top) → Sub Systems and OS Services → Testing
config ZTEST_MOCKING
bool "Mocking support functions"
help
Enable mocking support for Ztest. This allows the test to set
return values and expected parameters to functions.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)