-
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 subsys/testsuite/ztest/Kconfig:37
Included via Kconfig:10
→ Kconfig.zephyr:39
→ subsys/Kconfig:38
→ subsys/testsuite/Kconfig:9
Menu path: (top menu) → Testing
config ZTEST_MOCKING bool prompt "Mocking support functions" ifZTEST
depends onZTEST
help Enable mocking support for Ztest. This allows the test to set return values and expected parameters to functions.
(Definitions include propagated dependencies, including from if’s and menus.)