|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
A single node of test suite. More...
#include </__w/zephyr/zephyr/subsys/testsuite/ztest/include/zephyr/ztest_test.h>
Data Fields | |
| const char *const | name |
| The name of the test suite. | |
| const ztest_suite_setup_t | setup |
| Setup function. | |
| const ztest_suite_before_t | before |
| Before function. | |
| const ztest_suite_after_t | after |
| After function. | |
| const ztest_suite_teardown_t | teardown |
| Teardown function. | |
| const ztest_suite_predicate_t | predicate |
| Optional predicate filter. | |
| struct ztest_suite_stats *const | stats |
| Stats. | |
A single node of test suite.
Each node should be added to a single linker section which will allow ztest_run_test_suites() to iterate over the various nodes.
| const ztest_suite_after_t ztest_suite_node::after |
After function.
| const ztest_suite_before_t ztest_suite_node::before |
Before function.
| const char* const ztest_suite_node::name |
The name of the test suite.
| const ztest_suite_predicate_t ztest_suite_node::predicate |
Optional predicate filter.
| const ztest_suite_setup_t ztest_suite_node::setup |
Setup function.
| struct ztest_suite_stats* const ztest_suite_node::stats |
Stats.
| const ztest_suite_teardown_t ztest_suite_node::teardown |
Teardown function.