zephyr/subsys/testsuite
Greter Raffael 774858c6dc ztest: Add comfort functions for non-zero return codes
Many functions return non-zero return codes on errors. I added an assert
for the case, when a function is expected to fail. It is just a
shorthand for `zassert_not_equal(0, ret);`, analogous to
`zassert_ok`, introduced in c5d85e175f.

I also added the corresponding `zassume_nok` and `zexpect_nok`.

Signed-off-by: Greter Raffael <rgreter@baumer.com>
2023-11-04 07:39:46 -04:00
..
arch/unit_testing
boards/unit_testing/unit_testing
busy_sim
coverage testsuite: coverage: allow gcov data dump directly on console 2023-10-25 09:57:15 +02:00
include/zephyr ztest: remove old ztest api 2023-10-20 15:04:29 +02:00
soc/unit_testing/unit_testing
ztest ztest: Add comfort functions for non-zero return codes 2023-11-04 07:39:46 -04:00
CMakeLists.txt
Kconfig testsuite: coverage: allow gcov data dump directly on console 2023-10-25 09:57:15 +02:00
Kconfig.defconfig