:orphan: .. title:: ZTEST_MOCKING .. option:: 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 ================== .. highlight:: kconfig At ``subsys/testsuite/ztest/Kconfig:77`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:55`` → ``subsys/testsuite/Kconfig:6`` Menu path: (Top) → Sub Systems and OS Services → Testing .. parsed-literal:: 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.)*