zephyr/doc/develop
Yuval Peress 84dfb8edf8 ztest: allow asserts anywhere
Updates the ztest_test_fail() function to allow failures in setup.
When executed, a failed assert will fail every test in the suite owning
the setup function. This was verified by adding a suite which asserts
in the setup function and has a test that should pass. During
exeuction, ztest marks the test as failing.

In order to verify exection I also added 2 new APIs:
- ZTEST_EXPECT_FAIL(suite_name, test_name)
- ZTEST_EXPECT_SKIP(suite_name, test_name)

Signed-off-by: Yuval Peress <peress@google.com>
2022-08-09 13:30:15 -04:00
..
api doc: add api documentation for w1 driver 2022-07-05 23:06:45 +02:00
application doc: Fix a couple typos 2022-08-01 18:04:02 +01:00
flash_debug doc: remove guides and split content 2022-04-07 16:35:19 +02:00
getting_started doc: gsg: Edit instructions to set SDK env vars 2022-07-06 08:25:44 -07:00
languages doc: develop: Fix typo in newlib page 2022-06-02 12:56:25 +02:00
optimizations doc: move sections from guides 2022-04-07 16:35:19 +02:00
test ztest: allow asserts anywhere 2022-08-09 13:30:15 -04:00
toolchains doc: gsg: Edit instructions to set SDK env vars 2022-07-06 08:25:44 -07:00
tools doc: remove guides and split content 2022-04-07 16:35:19 +02:00
west doc: drop few reference of -s west build flag 2022-07-20 09:41:32 -05:00
beyond-GSG.rst doc: gsg: Edit instructions to set SDK env vars 2022-07-06 08:25:44 -07:00
env_vars.rst doc: gsg: Edit instructions to set SDK env vars 2022-07-06 08:25:44 -07:00
index.rst doc: develop: Add 'Language Support' sub-category 2022-06-01 15:26:48 +02:00
modules.rst doc: move modules section to developing with zephyr 2022-04-07 16:35:19 +02:00