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:59

Included via Kconfig:8Kconfig.zephyr:41subsys/Kconfig:36subsys/testsuite/Kconfig:6

Menu path: (Top) → 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.)