CONFIG_ZTEST_NEW_API

Use the new Ztest API

Type: bool

Help

Enables the new Ztest APIs for creating suites and unit tests in
separate compilational units as well as the new 'rules' API.

Direct dependencies

ZTEST

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Subsystem>/testsuite/ztest/Kconfig:13

Included via Kconfig:8Kconfig.zephyr:44<Subsystem>/Kconfig:61<Subsystem>/testsuite/Kconfig:6

Menu path: (Top) → Sub Systems and OS Services → Testing → Zephyr testing framework

config ZTEST_NEW_API
    bool "Use the new Ztest API"
    depends on ZTEST
    help
      Enables the new Ztest APIs for creating suites and unit tests in
      separate compilational units as well as the new 'rules' API.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)