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 ifs and menus.)

Defaults

  • 1

Kconfig definition

At subsys/testsuite/ztest/Kconfig:27

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

Menu path: (Top) → Testing → Zephyr testing framework

config ZTEST_ASSERT_VERBOSE
    int "Assertion verbosity level"
    default 1
    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

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