:orphan: .. title:: CONFIG_ZTEST_MOCKING .. kconfig:: CONFIG_ZTEST_MOCKING CONFIG_ZTEST_MOCKING #################### *Mocking support functions* Type: ``bool`` Help ==== .. code-block:: none 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 ``/testsuite/ztest/Kconfig:78`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:61`` → ``/testsuite/Kconfig:6`` Menu path: (Top) → Sub Systems and OS Services → Testing .. code-block:: kconfig 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.)*