zephyr/doc/develop
Anas Nashif afc319e3fa ztest: shell: add shell support
- Support for listing both testcases and testsuites
- Support for running single suites or single test cases
- Support shuffling tests and repeating execution based on command line
  arguments.

For example, build with

west build -p  -b qemu_cortex_m3  tests/kernel/sleep   -t run -- \
-DCONFIG_ZTEST_SHUFFLE=y -DCONFIG_ZTEST_SHELL=y

Following commands are available:

uart:~$ ztest
ztest - Ztest commands
Subcommands:
  run-all          :Run all tests
  shuffle          :Shuffle tests
  list-testsuites  :List all test suites
  list-testcases   :List all test cases
  run-testsuite    :Run test suite
  run-testcase     :Run testcase

shuffle accepts two arguments --suite_iter and --case_iter which allows
repeated exercution of testcases or suites.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2024-01-09 09:58:57 +01:00
..
api doc: api: Change retained memory status to unstable 2024-01-04 09:42:57 +01:00
application doc: add EXTRA_DTC_OVERLAY_FILE to list of important build variables 2023-12-07 10:38:05 +00:00
debug doc: add documenatation about I2C_DUMP_MESSAGES 2023-09-06 17:54:53 +02:00
flash_debug doc: flash_debug: add NXP S32 debug probe docs 2023-10-25 18:14:51 -07:00
getting_started doc: remove explicit libpython3.8-dev from Ubuntu deps 2023-12-15 14:08:04 +01:00
languages doc: Fix occurrences of repeated words 2023-11-15 17:34:39 -05:00
manifest doc: Fix double 'the' 2023-11-15 14:25:11 +00:00
optimizations doc: develop: update ram and rom report sample and reduce width 2023-11-08 16:03:48 -05:00
sca cmake: sca: codechecker: Support storing results 2023-08-23 14:45:03 +02:00
test ztest: shell: add shell support 2024-01-09 09:58:57 +01:00
toolchains cmake: remove deprecated XCC_USE_CLANG 2023-12-14 09:31:45 +01:00
tools doc: develop: tools: drop platformio docs 2022-12-22 13:45:52 +01:00
west doc: Fix occurrences of repeated words 2023-11-15 17:34:39 -05:00
beyond-GSG.rst docs: Introduction: Replace references to native_posix w native_sim 2023-11-14 14:38:10 +01:00
env_vars.rst doc: fix typos 2023-11-08 10:09:44 +01:00
index.rst doc: extract the documentation about debugging to another file 2023-09-06 17:54:53 +02:00
modules.rst doc: Fix double 'the' 2023-11-15 14:25:11 +00:00