CONFIG_ZTEST_ASSERT_VERBOSE

Assertion verbosity level

Type: int

Help

Set verbosity level for assertions. Assertion verbosity levels: 0 Write only file and line for failed assertions 1 Write file, line number, function and reason for failed assertions 2 Log also successful assertions

Direct dependencies

ZTEST

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/testsuite/ztest/Kconfig:26

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:38subsys/testsuite/Kconfig:9

Menu path: (top menu) → Testing → Zephyr testing framework

config ZTEST_ASSERT_VERBOSE
    int
    prompt "Assertion verbosity level" if ZTEST
    default 1 if ZTEST
    depends on ZTEST
    help
      Set verbosity level for assertions.
      Assertion verbosity levels:
      0 Write only file and line for failed assertions
      1 Write file, line number, function and reason for failed assertions
      2 Log also successful assertions

(Definitions include propagated dependencies, including from if’s and menus.)